fossasia/visdom

visdom.images() sometimes draw all black images

Chiusa

#602 aperta il 8 apr 2019

 (8 commenti) (1 reazione) (1 assegnatario)Python (1152 fork)batch import
Fix Proposedenhancementhelp wantedrelease blocker 0.2.5

Metriche repository

Star
 (9831 stelle)
Metriche merge PR
 (Merge medio 9g 12h) (116 PR mergiate in 30 g)

Descrizione

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

Guida contributor