This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
OSError: [Errno 9] Bad file descriptor happens #4626
Answered
by
ultmaster
pengyuzhang97
asked this question in
Q&A
-
Hello, I was running the official mnist-pytorch code under Ubuntu 18.04.4 clone from examples/trials)/mnist-pytorch/ when this OSError happens. Don't really know how to fix it. |
Beta Was this translation helpful? Give feedback.
Answered by
ultmaster
Mar 10, 2022
Replies: 1 comment 1 reply
-
You mentioned you ran the examples from As far as I know, Retiarii is using an atexit, which might be not compatible with runners like pycharm at exit. Maybe you should try directly running it in a terminal. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
pengyuzhang97
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You mentioned you ran the examples from
trials/mnist-pytorch
, but your log shows that you are running it from Retiarii. Which example are you using.As far as I know, Retiarii is using an atexit, which might be not compatible with runners like pycharm at exit. Maybe you should try directly running it in a terminal.