fossasia/visdom

visdom.images() sometimes draw all black images

Closed

#602 opened on Apr 8, 2019

 (8 comments) (1 reaction) (1 assignee)Python (1,152 forks)batch import
Fix Proposedenhancementhelp wantedrelease blocker 0.2.5

Repository metrics

Stars
 (9,831 stars)
PR merge metrics
 (Avg merge 9d 12h) (116 merged PRs in 30d)

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