Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some problem about ablation experiment #13

Open
leefly072 opened this issue Dec 15, 2020 · 6 comments
Open

some problem about ablation experiment #13

leefly072 opened this issue Dec 15, 2020 · 6 comments

Comments

@leefly072
Copy link

Geometry-Aware Symmetric Domain Adaptation for Monocular Depth Estimation is a very interesting paper and gave me a lot of inspiration. When run the experiment the ablation study, there is some problem boring me. Could you tell me how to training Ft on the Gs2t? Thank you very much for you help.

@sshan-zhao
Copy link
Owner

Could you provide more details?

@leefly072
Copy link
Author

It is a great honor to receive your reply. When I try to train the Fs on {Xt,Xs2t}, I execute the command line :
"python train.py --model fs --gpu_ids 0 --batchSize 8 --loadSize 256 1024 --g_src_premodel ./cyclegan/G_Src.pth
";
But I have no idea when do the ablation experiment, such as try to train the Ft on Xs2t;
If you can give me some hints will be very much appreciated.
Do I use the command line or modify the code of network.py?
I have no idea about how to train the Fs and Ft model with different data sets?
Especially looking forward to your reply, thank you very much.

@sshan-zhao
Copy link
Owner

The command for training Ft is provided. Does it not work? python train.py --model ft --gpu_ids 0 --batchSize 8 --loadSize 256 1024 --g_tgt_premodel ./cyclegan/G_Tgt.pth
For other datasets, you might need to first train an image-to-image translation model using CycleGAN. Then, prepare the datasets according to the provided file structure, or use your ownself file structure but you need to re-write the code for loading the data. After that, you can train the model using the provided commands (or with some modifications).
Hope it can help.

@leefly072
Copy link
Author

it's very useful for you response. I still have some questions, hope you can give some advise.
I use the paper dataset to training the model , and when I faced to the section 4.4, SYN(Fs trained on Xs); or SYN@REAL(Ft trained on Gs2t(Xs)). I have no idea how to run the experiment.
in other words, if I want to training the Fs only on source domain (synthetic), what can I do , could I do some modification of the giving commend to run the Fs on Xs?
Thank you very much for your valuable time to reply my question.

@sshan-zhao
Copy link
Owner

You may need to modify the code, such as the forward and backward function in ft_model.py / fs_model.py

@leefly072
Copy link
Author

Thank you very much for your valuable time to reply my question. Let me try to modify the related code~ Thank you very much.Thank you for the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants