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

init_bulk : raise ValueError(f"Invalid format: {str(fmt)}") #1108

Closed
YuWu-thermal opened this issue Jan 6, 2023 · 10 comments · Fixed by #1126
Closed

init_bulk : raise ValueError(f"Invalid format: {str(fmt)}") #1108

YuWu-thermal opened this issue Jan 6, 2023 · 10 comments · Fixed by #1126
Labels
bug Something isn't working

Comments

@YuWu-thermal
Copy link

1673005198691

@njzjz njzjz linked a pull request Jan 6, 2023 that will close this issue
@YuWu-thermal
Copy link
Author

Thank you for your help. When i run "dpgen run param.json machine.json", another error occur.
1673061301047

@ZSHtju
Copy link

ZSHtju commented Jan 24, 2023

Still get this error with the latest devel branch.
image
Please take a look, thanks.

@njzjz njzjz added the bug Something isn't working label Jan 24, 2023
njzjz added a commit to njzjz/dpgen that referenced this issue Jan 27, 2023
Fix deepmodeling#1108.

Note: tests do not cover this case.
@njzjz njzjz linked a pull request Jan 27, 2023 that will close this issue
wanghan-iapcm pushed a commit that referenced this issue Jan 28, 2023
Fix #1108.

Note: tests do not cover this case.
@njzjz
Copy link
Member

njzjz commented Jan 28, 2023

@ZSHtju fixed in #1126.

@njzjz njzjz closed this as completed Jan 28, 2023
@ZSHtju
Copy link

ZSHtju commented Jan 28, 2023

@ZSHtju fixed in #1126.

Thanks so much. Problem solved.

@DM0815
Copy link

DM0815 commented Feb 15, 2023

@ZSHtju fixed in #1126.
Excuse me .I met the same question. because the dp installed in an off-line server. Do I can solve the problem by installing the dp-v2.1.5(offline-packages) again?

@njzjz
Copy link
Member

njzjz commented Feb 15, 2023

@DM0815 I am not sure what you mean. Here is dpgen but not deepmd-kit.

@DM0815
Copy link

DM0815 commented Feb 16, 2023

@DM0815 I am not sure what you mean. Here is dpgen but not deepmd-kit.

Sorry ,I didn't go into detail, I meant dpgen. I met the same question when conducting dpgen init_bulk, and the reminding also same 'invalid foramt'.... the version of deepmdkit and dpgen is 2.1.5, and 0.11.0 ,resepcetively. I installed it last year. Becasue I've only recently used this function(dpgen init_bulk). Therefore, shoud I upgrade the dpgen version?

@DM0815
Copy link

DM0815 commented Feb 28, 2023

@ZSHtju excuse me, I also met this question. Can I know your version of deepmdkit and dpgen at present. And do you met question now?

@ZSHtju fixed in #1126.

Thanks so much. Problem solved.

@ZSHtju
Copy link

ZSHtju commented Mar 1, 2023

@ZSHtju excuse me, I also met this question. Can I know your version of deepmdkit and dpgen at present. And do you met question now?

Hi, Currently I am using deepmd-kit 2.1.5 and the devel branch of dpgen. This problem has been solved in the devel branch of dpgen.

@DM0815
Copy link

DM0815 commented Mar 3, 2023

@ZSHtju excuse me, I also met this question. Can I know your version of deepmdkit and dpgen at present. And do you met question now?

Hi, Currently I am using deepmd-kit 2.1.5 and the devel branch of dpgen. This problem has been solved in the devel branch of dpgen.

Tks, help me a lot, it's solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants