jhoffman / cycada_release

Code to accompany ICML 2018 paper
BSD 2-Clause "Simplified" License
561 stars 126 forks source link

Applying pre-trained models about gta2cityscape #46

Open NeverlandCookies opened 2 years ago

NeverlandCookies commented 2 years ago

Sorry for my disturbing. I am trying to reproduce the result of gta as cityscape experiment. My goal is to compare two models: 1) trained on gta5 data and evaluated with cityscape data; 2) trained with translated gta5 data and evaluated with cityscape data If my understanding serves me well, the drn26-gta5-iter115000.pth pre-trained model is matched with my first goal and drn26-cyclegta5-iter115000.pth is matched with my second goal. My questions are as follows: 1) If I only want to inference with the provided pre-trained models, do I need to run the scripts/train_fcn_adda.sh script? How can I specify that I am adopting a pre-trained model (Because I only find that there is specification of the base_models, but the train script is still going to start from iter 0, and train till max_iter, and the baseiter is only used to specify the pth file) 2) If I only want to inference with the drn26-gta5-iter115000.pth model on cityscape dataset for my first goal, do I need to download the original gta5 dataset (since scripts/train_fcn_adda.sh requires to specify the src dataset) Thank you very much and hope to receive your reply soon.