-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplified first run process + docs [needs test]
- Loading branch information
Showing
4 changed files
with
43 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,25 @@ | ||
# Your First Run (horse2zebra) | ||
|
||
|
||
## For Docker Install | ||
If you haven't already, please follow the installation using [Docker](../installation.md#docker) | ||
|
||
|
||
For both types of install, running the basic horse2zebra example is similar. | ||
#### Data download | ||
The horse2zebra dataset can be downloaded to the `<data_dir>` in the host system using instructions below, | ||
The horse2zebra dataset can be downloaded using instructions below, | ||
1. Open a terminal inside the cloned repository and run, | ||
|
||
```console | ||
cd projects/horse2zebra | ||
bash download_cyclegan_dataset.sh horse2zebra <data_dir> | ||
bash download_cyclegan_dataset.sh horse2zebra . | ||
``` | ||
|
||
### Training | ||
Next, the following commands are to be run in the docker container shell | ||
|
||
 | ||
!!! note | ||
The horse2zebra dataset will be downloaded at the root-level of the ganslate directory. This can be changed by providing a <data_dir> to the command `bash download_cyclegan_dataset.sh horse2zebra <data_dir>. However, the yaml files need to be manually changed. For non-advanced users, it is best to stick to the default location | ||
|
||
Run the training using, | ||
### Training | ||
Next, you can run the training using the command below, | ||
|
||
```console | ||
cd /code | ||
python tools/train.py config=projects/horse2zebra/experiments/default_docker.yaml | ||
python tools/train.py config=projects/horse2zebra/experiments/default.yaml | ||
``` | ||
|
||
NOTE: If you have more than one GPU, then you can either run the training in distributed mode or [set CUDA_VISIBLE_DEVICES environment variable](https://developer.nvidia.com/blog/cuda-pro-tip-control-gpu-visibility-cuda_visible_devices/) to use only single GPUs. | ||
!!! note | ||
If you have more than one GPU, then you can either run the training in distributed mode or [set CUDA_VISIBLE_DEVICES environment variable](https://developer.nvidia.com/blog/cuda-pro-tip-control-gpu-visibility-cuda_visible_devices/) to use only single GPUs. |
This file was deleted.
Oops, something went wrong.