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

Probably wrong argument name in inference script #2

Open
Ikemura-kei opened this issue Nov 16, 2022 · 2 comments
Open

Probably wrong argument name in inference script #2

Ikemura-kei opened this issue Nov 16, 2022 · 2 comments

Comments

@Ikemura-kei
Copy link

In ./configs/reproduce_full_model_infer.sh:

export EXPNAME=reproduce_full_model
python train.py \
--dist-url 'tcp://localhost:10002' \
--multiprocessing-distributed --world-size 1 --rank 0 \
--model transunet_skip_res --residual_num 8 --norm in \
--exp_name $EXP_NAME --training_mode test \
--batch_size 16 --cos --lr 1e-4 \
--interpolated_normal \
--netinput onlyiun_pol_vd \
--dataset spwinter

At line 7, the argument name is probably mistyped as EXP_NAME which should have been EXPNAME as defined in line 1.

@Ikemura-kei
Copy link
Author

Not sure if this script is the right one to perform inference. Otherwise Please point me to the correct inference file that is supposed be use, thank you.

@ChenyangLEI
Copy link
Owner

It should be correct. The "_infer" suffix is used as "--training_mode test ".

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