fossasia/visdom

visdom.images() sometimes draw all black images

Open

#602 opened on Apr 8, 2019

View on GitHub
 (8 comments) (1 reaction) (0 assignees)Python (9,831 stars) (1,152 forks)batch import
Fix Proposedenhancementhelp wanted

Description

Bug Description I use the mean=[0.485, 0.456, 0.406],std=[0.229, 0.224, 0.225] to normalize the image. Then I do some translates on these images. Finally, I restore these images to the normal state and use the visdom.images() to show the images. The problem is that sometimes these images are all black, I print the image matrix and all values are [0-1],which are right. Strangely,sometimes these images can draw normally.

Screenshots

This is the case: image

Contributor guide