Closed Friday21 closed 5 years ago
Unfortunately I don't use Docker. @DKingCN may be able to help
It says you pressed enter to exit because you added the EOFError to the same block as the KeyboardInterrupt. This effectively makes that error act as a Ctrl-C at that exact moment. A better option would be to remove the input() and put another way to exit the app.
We recommend using anaconda instead of docker now. It's not as containerized, but actually works better in most ways.
I will look into this when i have time.
At the first glancebit looks like the basic IO problem. Did you tried to run the container and attach a shell to it ?
The basic usage for me is to run
the container and detach. When necessary, attach
to it to open a shell and run it like in a terminal. This method works for me.
@DKingCN thanks, I tried run it in the docker shell, it works!
Great
when I start faceswap-gpu docker, and run trainer in anther shell, I got EOFError, my command:
docker exec faceswap-gpu python /srv/faceswap.py train -A=/srv/input_A -B=/srv/input_B -m /srv/models
so, I fixed EOFError with change train script as follow:
but then I got exited without press enter, which the shell shows I did!!