fossasia/visdom

visdom.images() sometimes draw all black images

Open

#602 ouverte le 8 avr. 2019

Voir sur GitHub
 (8 commentaires) (1 réaction) (0 assignés)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

Guide contributeur