mirror of
https://github.com/Deepshift/DeepCreamPy.git
synced 2024-12-01 04:00:21 +00:00
add changes for mosaics to documentation
This commit is contained in:
parent
d1de0535a5
commit
0e00c6845b
@ -12,13 +12,25 @@ If you want access to older models, see https://drive.google.com/open?id=1_A0xFe
|
||||
## running the code using Docker
|
||||
|
||||
Once the input images and model have been placed in `decensor_input` and `models` respectively,
|
||||
the code can be run in the command line using docker (or Podman), to avoid managing dependencies manually, as follows:
|
||||
the code can be run in the command line using docker (or podman), to avoid managing dependencies manually.
|
||||
|
||||
to build the container image use the command:
|
||||
```
|
||||
docker build -t deepcreampy .
|
||||
```
|
||||
|
||||
then to desensor bar censors run the following command:
|
||||
```
|
||||
docker run --rm -v $(pwd)/models:/opt/DeepCreamPy/models -v $(pwd)/decensor_input:/opt/DeepCreamPy/decensor_input -v $(pwd)/decensor_output:/opt/DeepCreamPy/decensor_output deepcreampy
|
||||
```
|
||||
|
||||
to desensor mosaics run the following command:
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
the contents of `decensor_input` and `decensor_input_original` are explained in the [decensoring tutorial](USAGE.md).
|
||||
|
||||
### Dependencies (for running the code yourself)
|
||||
- Python 3.6.7
|
||||
- TensorFlow 1.14
|
||||
|
Loading…
Reference in New Issue
Block a user