Closed IvanGarcia7 closed 2 years ago
I want to train a UNIT model from scratch so I followed the tutorial (https://github.com/NVlabs/imaginaire/tree/master/projects/munit).
The steps I have followed are as follows:
When performing the inference to pass the image from one context to another as shown in the tutorial, the following command must be executed:
python -m torch.distributed.launch --nproc_per_node=1 inference.py \ --config configs/projects/unit/mydataset/ampO1.yaml \ --output_dir projects/unit/output/mydataset
My question is, how do you indicate the path of the checkpoint obtained by performing the training from scratch for my dataset?
Pass in the --checkpoint <path-to-checkpoint> argument as described here: https://github.com/NVlabs/imaginaire/blob/master/inference.py#L23-L24
--checkpoint <path-to-checkpoint>
I want to train a UNIT model from scratch so I followed the tutorial (https://github.com/NVlabs/imaginaire/tree/master/projects/munit).
The steps I have followed are as follows:
When performing the inference to pass the image from one context to another as shown in the tutorial, the following command must be executed:
python -m torch.distributed.launch --nproc_per_node=1 inference.py \ --config configs/projects/unit/mydataset/ampO1.yaml \ --output_dir projects/unit/output/mydataset
My question is, how do you indicate the path of the checkpoint obtained by performing the training from scratch for my dataset?