Deepshift / DeepCreamPy

deeppomf's DeepCreamPy + some updates
GNU Affero General Public License v3.0
424 stars 74 forks source link

add support for running with Docker #1

Closed nivkner closed 1 year ago

nivkner commented 2 years ago

was having trouble with the installation process using pip directly (python 3.6.7 seems to be incompatible with tensorflow 1.15.2), so i created a dockerfile based on https://github.com/deniszh/DeepCreamPy, which is out of date.

pink-red commented 1 year ago

I tried it, it works!

pink-red commented 1 year ago

Also, for mosaic decensoring, the command should be changed slightly:

docker run --rm -v $(pwd)/models:/opt/DeepCreamPy/models -v $(pwd)/decensor_input:/opt/DeepCreamPy/decensor_input -v $(pwd)/decensor_input_original:/opt/DeepCreamPy/decensor_input_original -v $(pwd)/decensor_output:/opt/DeepCreamPy/decensor_output deepcreampy --is_mosaic=true

Specifically, it requires adding these options: