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

I want to resume from your pre-trained weight. #92

Open
H0128Z opened this issue Sep 4, 2024 · 2 comments
Open

I want to resume from your pre-trained weight. #92

H0128Z opened this issue Sep 4, 2024 · 2 comments

Comments

@H0128Z
Copy link

H0128Z commented Sep 4, 2024

I want to resume from your pre-trained weight, [resshift_realsrx4_s15_v1.pth]

It seems this is ema file, how can I train from pre-trained weight?

below terminal doesnt' work. since it is not dict_keys format

CUDA_VISIBLE_DEVICES=0,1 torchrun --standalone --nproc_per_node=2 --nnodes=1 main.py --cfg_path configs/DNA_5x5micro_2048_10x10crop.yaml --save_dir checkpoint --resume weights/resshift_realsrx4_s15_v1.pth

@zsyOAOA
Copy link
Owner

zsyOAOA commented Sep 4, 2024

Try to pass the ckpt path to the config file. @H0128Z

https://github.com/zsyOAOA/ResShift/blob/journal/configs/realsr_swinunet_realesrgan256_journal.yaml#L29

@H0128Z
Copy link
Author

H0128Z commented Sep 4, 2024

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