Docker run not producing any output
Closed this issue · 4 comments
Hello,
I am trying to run MODNet using the dockerized version you have provided on my computer, but I don't see any output after the 'docker run' command. There is no error outputted, but it doesn't print the "saved background" statement at the end of the inference.py file.
I ran 'docker ps -a' to view the exited containers but it did not return anything. I also ran 'docker images' to confirm that the docker image ('modnet') was created.
I get the same behavior when running on Ubuntu 20.04.4 LTS.
Hmm, I see it is working fine on my side
I would try below steps
- make sure you have
__init__.py
here https://github.com/nahidalam/modnet_docker/tree/main/src/models/backbones - Make sure your docker has enough space. Docker images/containers can hog allocated space and time to time you might need to clear up. I generally do system prune https://docs.docker.com/engine/reference/commandline/system_prune/
Thank you for the suggestion, I uninstalled an reinstalled docker on my computer and now it looks like the inference.py file did run all the way through. The output I got is attached.
However, I cannot find the the output images and they were not saved in the output path (demo/image_matting/output). Any ideas how I can obtain the outputs? When I ran inference.py on it's own, the images were successfully saved in the correct folder.
Okay I found the issue.
I did a major restructuring and update in a new branch https://github.com/nahidalam/modnet_docker/tree/container
This is working on my end. I removed the images and tested and saw it is saved. Please test it out and let me know.
That worked, thank you!