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

pocket repr's infer.py uses parameters ‘arch' with an error #174

Open
HuazhangYing opened this issue Oct 27, 2023 · 2 comments
Open

pocket repr's infer.py uses parameters ‘arch' with an error #174

HuazhangYing opened this issue Oct 27, 2023 · 2 comments

Comments

@HuazhangYing
Copy link

I entered the parameters as referenced, did they change? Is there a parameter-help file?
infer.py: error: argument --arch/-a: invalid choice: 'unimol_base' (choose from )

image Thanks!!!
@ZhouGengmo
Copy link
Contributor

It looks like there might be a problem with the user-dir specified in the inference command, which is causing the packages not to be imported properly. You can try changing the relative path ../unimol of user-dir to an absolute path.

!CUDA_VISIBLE_DEVICES="0" python ../unimol/infer.py --user-dir ../unimol $data_path --valid-subset $job_name \
       --results-path $results_path \

@ZhouGengmo
Copy link
Contributor

user-dir is for importing unimol packages. It's better not just change it to another path such as ../notebooks.

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