-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
request #3
Comments
Hi Guzai Wang, warnings.warn("nn.functional.upsample is deprecated. Use nn.functional.interpolate instead.") File "", line 1, in File "/home/wqq/anaconda3/envs/pytorch/lib/python3.6/site-packages/spyder_kernels/customize/spydercustomize.py", line 786, in runfile File "/home/wqq/anaconda3/envs/pytorch/lib/python3.6/site-packages/spyder_kernels/customize/spydercustomize.py", line 110, in execfile File "/home/wqq/qingqwan/MediSeg/CE-Net-master/main.py", line 103, in File "/home/wqq/qingqwan/MediSeg/CE-Net-master/main.py", line 60, in CE_Net_Train File "/home/wqq/qingqwan/MediSeg/CE-Net-master/framework.py", line 66, in optimize File "/home/wqq/anaconda3/envs/pytorch/lib/python3.6/site-packages/torch/optim/adam.py", line 100, in step RuntimeError: cuda runtime error (59) : device-side assert triggered at /opt/conda/conda-bld/pytorch_1533672544752/work/aten/src/THC/generic/THCTensorMathPairwise.cu:21 |
i also met the same question. |
Figure it out! Torch0.4 works. The problem is caused by the loss function. |
I succeeded in running according to your method, but it ended after running about thirty epochs. I want to ask you how the result of running is. Thank you very much. |
Sorry, in the original implementation, the multi-class dice loss and binary cross entropy loss were separate. When we create this repository, we integrate both of them into a loss function. And the CUDA error (or warning) occurs. Now, we have modified the loss function. It works. |
Many thanks. It works now. |
Thank you very much for your reply and code. Could you upload the test code? Thank you very much. |
Hi Guzai Wang, |
visdom is a tool that can plot errors vs epoches that helps you visually see the training phase, you actually do not need to use the visdom part. |
Thanks you so much for your kind response
发自我的iPhone
…------------------ Original ------------------
From: Howie <[email protected]>
Date: Fri,May 29,2020 9:56 AM
To: Guzaiwang/CE-Net <[email protected]>
Cc: Altaf-Hussain-AI <[email protected]>, Comment <[email protected]>
Subject: Re: [Guzaiwang/CE-Net] request (#3)
Hi Guzai Wang,
Thanks for opening your code. i have a question as you have mention that "start the visdom file before running main.py file.
i didn't understand what is "visdom" can you please tell me about visdom what is this and how to start it?
i shall be very thankful to you.
visdom is a tool that can plot errors vs epoches that helps you visually see the training phase, you actually do not need to use the visdom part.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
请问那个test_center是测试代码吗?还是说您没有把test代码上传到GitHub上? |
能把test_center文件分享一下吗? |
Can you configure the environment for the next code? For example, torch version? Thank you
The text was updated successfully, but these errors were encountered: