ssl_bad_gan icon indicating copy to clipboard operation
ssl_bad_gan copied to clipboard

I find a potential mistake, could you please have a check?

Open MozarTuring opened this issue 5 years ago • 16 comments

Line 136 in mnist_trainer.py, the operation (p_loss > 0).sum() may give unwanted result because p_loss > 0 returns a BytetTensor which can represent value from 0~255. However, the summation may exceed 255.

MozarTuring avatar Mar 07 '19 14:03 MozarTuring

Have you managed to run through the mnist_trainer.py program?

XiaoHao-Chen avatar Apr 18 '19 09:04 XiaoHao-Chen

yes, I did.

MozarTuring avatar Apr 19 '19 14:04 MozarTuring

How did you solve the memory overload problem? Can you tell me how much memory your graphics card has? Thank you

XiaoHao-Chen avatar Apr 19 '19 15:04 XiaoHao-Chen

是的,我做到了。

I have no good solution to the problem of the running program of pixelcnn, can you tell me how you solved the problem at that time? That is, the issue of out of memory. Thank you very much for your help.

XiaoHao-Chen avatar Apr 21 '19 13:04 XiaoHao-Chen

yes, I did.

Can you give me some advice on the operation of this code? Suggestions for modifications within the hardware or code? Thank you very much!

XiaoHao-Chen avatar Apr 23 '19 13:04 XiaoHao-Chen

是的,我做到了。

I still want to know how you solved the memory overflow problem. I still haven't solved it for so long. Please!

XiaoHao-Chen avatar Apr 30 '19 09:04 XiaoHao-Chen

You are using gpu or cpu? What’s the memory of yours?

发自我的 iPhone

在 2019年4月30日,下午5:21,331801070049 [email protected] 写道:

是的,我做到了。

I still want to know how you solved the memory overflow problem. I still haven't solved it for so long. Please!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

MozarTuring avatar Apr 30 '19 10:04 MozarTuring

你在使用gpu还是cpu?你的记忆是什么?发自我的iPhone ... 在 2019年4月30日,下午5:21,331801070049 @.***> 写道: 是的,我做到了。 I still want to know how you solved the memory overflow problem. I still haven't solved it for so long. Please! — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

All the GPU,6G,8G,12G I used have been used. 150G CPU has also been used, but all memory overflows are displayed

XiaoHao-Chen avatar Apr 30 '19 11:04 XiaoHao-Chen

Are you sure the reason is out of memory? running minist_trainer.py only took up less than 8g

发自我的 iPhone

在 2019年4月30日,下午7:30,331801070049 [email protected] 写道:

你在使用gpu还是cpu?你的记忆是什么?发自我的iPhone ... 在 2019年4月30日,下午5:21,331801070049 @.***> 写道: 是的,我做到了。 I still want to know how you solved the memory overflow problem. I still haven't solved it for so long. Please! — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

All the GPU,6G,8G,12G I used have been used. 150G CPU has also been used, but all memory overflows are displayed

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

MozarTuring avatar Apr 30 '19 14:04 MozarTuring

Are you sure the reason is out of memory? running minist_trainer.py only took up less than 8g 发自我的 iPhone 在 2019年4月30日,下午7:30,331801070049 @.> 写道: 你在使用gpu还是cpu?你的记忆是什么?发自我的iPhone ... 在 2019年4月30日,下午5:21,331801070049 @.> 写道: 是的,我做到了。 I still want to know how you solved the memory overflow problem. I still haven't solved it for so long. Please! — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread. All the GPU,6G,8G,12G I used have been used. 150G CPU has also been used, but all memory overflows are displayed — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

But it really goes out of memory. The problem has been bothering me for a long time. I don't know how to change the program. If you don't mind if you can send me your successful minist_trainer.py, let me refer to it. Thank you very much for your help. My email is [email protected]

XiaoHao-Chen avatar Apr 30 '19 14:04 XiaoHao-Chen

As I look for the problem, I find that when you run to pixelcnn.py, the amount of GPU increases dramatically and does not release.

XiaoHao-Chen avatar Apr 30 '19 14:04 XiaoHao-Chen

Could you briefly introduce yourself?

发自我的 iPhone

在 2019年4月30日,下午10:30,331801070049 [email protected] 写道:

As I look for the problem, I find that when you run to pixelcnn.py, the amount of GPU increases dramatically and does not release.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

MozarTuring avatar Apr 30 '19 14:04 MozarTuring

I come from China henan zhengzhou, is a master of reading, the direction is image classification, see the bad before gan, this paper found that code, you want to run the trying to reappear the results of the paper, but in running mnist_trainer. Py the existing problems, during this time I try I can think of a way to solve it, but have not had any effect. So if you still have the source code for the successful run, please send it to me for reference. Thank you very much!

XiaoHao-Chen avatar Apr 30 '19 15:04 XiaoHao-Chen

I really need your help with this code. I really can't find a solution to the current problem. I hope you can give me some help. Please! My email is [email protected].

XiaoHao-Chen avatar Apr 30 '19 16:04 XiaoHao-Chen

check my github homepage

发自我的 iPhone

在 2019年5月1日,上午12:06,331801070049 [email protected] 写道:

I really need your help with this code. I really can't find a solution to the current problem. I hope you can give me some help. Please! My email is [email protected].

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

MozarTuring avatar Apr 30 '19 17:04 MozarTuring

Thank you very much

XiaoHao-Chen avatar Apr 30 '19 17:04 XiaoHao-Chen