GA3C icon indicating copy to clipboard operation
GA3C copied to clipboard

Segmentation fault

Open cyou6 opened this issue 4 years ago • 6 comments

./_train.sh: line 3: 3010 Segmentation fault (core dumped) python GA3C.py "$@"

Does anybody get a segmentation problem like this?

cyou6 avatar Feb 07 '21 08:02 cyou6

Never seen this. What environment are you using? Can you update the drivers?

ifrosio avatar Feb 07 '21 09:02 ifrosio

Thanks, I use Ubuntu 16.04, tf 1.14 python 3.7

you mean which driver to update?

On Sun, Feb 7, 2021 at 5:12 PM iuri frosio [email protected] wrote:

Never seen this. What environment are you using? Can you update the drivers?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NVlabs/GA3C/issues/44#issuecomment-774639888, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFHQXQPS52IRGERV45VVRXLS5ZKRBANCNFSM4XHG23PQ .

cyou6 avatar Feb 07 '21 09:02 cyou6

GPU driver

ifrosio avatar Feb 07 '21 09:02 ifrosio

Ok, I will try. Do you mind telling me what does the args "$@" mean in the _train.sh? python GA3C.py "$@"

this line in ga3c.py will return a valueerror since no '=' is given: x, y = sys.argv[i].split('=')

Thanks

On Sun, Feb 7, 2021 at 5:40 PM iuri frosio [email protected] wrote:

GPU driver

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NVlabs/GA3C/issues/44#issuecomment-774643288, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFHQXQNMM5JEAAXYKMJ5VWDS5ZNXNANCNFSM4XHG23PQ .

cyou6 avatar Feb 07 '21 09:02 cyou6

$@ is all of the parameters passed to the script in the sh file. Please also double check that your config file contains correct parameters. It may be that your GPU does not have enough RAM - what GPU are you using? You can try directly modifying the script parameters when calling train.sh - see the docs.

ifrosio avatar Feb 07 '21 09:02 ifrosio

ah, I am using 2080. It might be the ram problem since I'm running a couple of training tasks as the same time. I will try again once those tasks are done. Thanks

cyou6 avatar Feb 07 '21 10:02 cyou6