This pull request includes a Dockerfile that packages SRResCycGAN in a reproducible Docker image. I've pushed the image to the Replicate Docker registry and included a link in the README.
For the Docker image I wrote a small infer.py script, similar to test_srrescycgan.py, but with some more command line options. To be able to import crop_forward I had to put the inference part of test_srrescycgan.py inside a function, but I didn't change any functionality.
We are working to make Replicate a registry of machine learning models that can be easily reproduced. With Docker the models can be run "forever", without having to worry about missing dependencies. The design of the website is still a work in progress, so it might look a little rough around the edges.
This pull request includes a Dockerfile that packages SRResCycGAN in a reproducible Docker image. I've pushed the image to the Replicate Docker registry and included a link in the README.
For the Docker image I wrote a small
infer.py
script, similar totest_srrescycgan.py
, but with some more command line options. To be able to importcrop_forward
I had to put the inference part oftest_srrescycgan.py
inside a function, but I didn't change any functionality.We are working to make Replicate a registry of machine learning models that can be easily reproduced. With Docker the models can be run "forever", without having to worry about missing dependencies. The design of the website is still a work in progress, so it might look a little rough around the edges.