Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1596 Discussions

In Intel Dev Cloud, whylogs package is not working

AswinVijayakumar
1,100 Views

Steps to test:

pip install whylogs

 

Code

for i in range(1):
    self.logger.log_image(Image.fromarray(np.random.random((10,10))), feature_name="Random Image")
self.logger.log({'a': 'abcdef'})
self.logger.flush()
self.logger.close()

 

This code does not show any output. But if you comment out the log_image code line, and just log the dictionary, it gives the output.

 

Steps to replicate:

Platform:
Intel Dev Cloud

 

Any reasons why this is happening?

0 Kudos
3 Replies
JyothisV_Intel
Moderator
1,038 Views

Hi,

 

Good day to you.

 

Thanks for posting in Intel Communities.

 

We tried replicating your issues with a sample code that uses whylogs package with an image on Intel DevCloud node and it works fine (Refer attached screenshot).

 

Sample code used is from the official whylabs GitHub repositories (https://github.com/whylabs/whylogs-examples/blob/mainline/python/Logging_Images.ipynb)

 

Unfortunately, our support is limited to Intel products and services. We do not provide support for issues that arise from specific user code or repositories.

 

If you still feel that the issue is with the Intel DevCloud services, kindly share a sample reproducer code so that we can evaluate it out from our side.

 

Regards,

Jyothis V James

 

 

0 Kudos
AswinVijayakumar
1,027 Views

Thanks you very much. 

 

Wish you a good weekend ahead. Thanks for offering a great service in this context. 

IDC is a great platform. 

 

Kind Regards,

Aswin

 

0 Kudos
JyothisV_Intel
Moderator
1,005 Views

Hi,


Good day to you.


Thanks for the positive feedback and we hope that the solution helped in resolving the issue that you faced.


If you need any additional help or information, please post a new question as this thread will no longer be monitored by Intel.


Regards,

Jyothis V James



0 Kudos
Reply