Open albertmundu opened 2 years ago
I had the same issue and I solved it by adding CUDA_VISIBLE_DEVICES=0,1,2,3 at the beginning of the command line (or in Pycharm in the environment variables).
@DavidHuji following your solution, I tried to test the model; the error still persists. Is there any modifications to be done to the code.
Hi I found the solution. You set the test batch size to 1 the problem is gone. But I am investigating the code logic to see why this should be like this. There are a lot of errors of this code as I found.
Hi I found the solution. You set the test batch size to 1 the problem is gone. But I am investigating the code logic to see why this should be like this. There are a lot of errors of this code as I found.
Have you find the reason?
I solved the problem long time ago with the same solution. But there are still many errors so I finally gave up reproducing their results. Now I am using other code base.
在 2022年8月20日,上午1:23,zhuyibing @.***> 写道:
Hi I found the solution. You set the test batch size to 1 the problem is gone. But I am investigating the code logic to see why this should be like this. There are a lot of errors of this code as I found.
Have you find the reason?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.
I solved the problem long time ago with the same solution. But there are still many errors so I finally gave up reproducing their results. Now I am using other code base. … 在 2022年8月20日,上午1:23,zhuyibing @.***> 写道: Hi I found the solution. You set the test batch size to 1 the problem is gone. But I am investigating the code logic to see why this should be like this. There are a lot of errors of this code as I found. Have you find the reason? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.
what code base ?can you give me a link
https://github.com/KaihuaTang/Scene-Graph-Benchmark.pytorch
在 2022年8月22日,下午8:08,zhuyibing @.***> 写道:
I solved the problem long time ago with the same solution. But there are still many errors so I finally gave up reproducing their results. Now I am using other code base. … 在 2022年8月20日,上午1:23,zhuyibing @.***> 写道: Hi I found the solution. You set the test batch size to 1 the problem is gone. But I am investigating the code logic to see why this should be like this. There are a lot of errors of this code as I found. Have you find the reason? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.
what code base ?can you give me a link
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.
There is Runtime error when I am testing the models with batch-size other than 1. You can see the repetitive error below -
Is there a fix for this?