An error with visdom
liuyazhou951218 opened this issue · comments
liuyazhou951218 commented
First ,thanks for your great work,it really helps me a lot.
The progress of train is OK. While try to put the result into visdom and visualize it,here is a problem:
TypeError: object of type 'Tensor' is not JSON serializable.
My Pytorch is 1.0.0, and some questions on StackOverflow tell me to change Pytorch 1.0.0 to 0.3.1, but when I tried that, it showed more problems. so give it up.
Can you give me some advice about that? thanks in advance.
aa12356jm commented
me too,pytorch==1.0, how solve this problem? thx
donaldxu commented
I find that if I train it with gpu, the error happed, but if I train it with cpu, it's ok,no errors