fossasia/visdom

visdom.images() sometimes draw all black images

クローズ

#602 opened on 2019/04/08

 (8 件のコメント) (1 件のリアクション) (1 人の担当者)Python (1,152 件のフォーク)batch import
Fix Proposedenhancementhelp wantedrelease blocker 0.2.5

Repository metrics

Stars
 (9,831 個のスター)
PR merge metrics
 (平均マージ 9d 12h) (30d で 116 merged PRs)

説明

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

コントリビューターガイド