Skip to content

feat: use device from config file when predict#349

Open
wolf-joe wants to merge 2 commits intoadvimman:mainfrom
wolf-joe:patch-1
Open

feat: use device from config file when predict#349
wolf-joe wants to merge 2 commits intoadvimman:mainfrom
wolf-joe:patch-1

Conversation

@wolf-joe
Copy link

@wolf-joe wolf-joe commented May 4, 2025

Current behavior: Regardless of the device configuration in the configuration file(configs/prediction/default.yaml), the code will only use the CPU for prediction unless refine is enabled.

Expected behavior: Use the corresponding device for predict based on the 'device' item in the configuration file.

@jf1957
Copy link

jf1957 commented Jan 30, 2026

Current behavior: Regardless of the device configuration in the configuration file(configs/prediction/default.yaml), the code will only use the CPU for prediction unless refine is enabled.

Expected behavior: Use the corresponding device for predict based on the 'device' item in the configuration file.

I would like to kindly ask you some questions regarding training on the CelebA dataset. Specifically, based on LaMa-Fourier, what small modifications or fine-tuning strategies could be applied to slightly improve the final performance metrics?

I am currently working on my undergraduate graduation thesis, and these suggestions would be extremely helpful to my research. I would sincerely appreciate it if you could share some advice or insights.

Thank you very much for your time and help.

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

Successfully merging this pull request may close these issues.

2 participants