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

strict check simplify jdata #951

Merged
merged 2 commits into from
Oct 3, 2022

Conversation

njzjz
Copy link
Member

@njzjz njzjz commented Sep 15, 2022

Since the simplify jdata is confirmed to be completed (if not, please remind me), we could enable the strict check.

Since the simplify jdata is confirmed to be completed (if not, please remind me), we could enable the strict check.
@@ -413,6 +414,9 @@ def run_iter(param_file, machine_file):
with open(machine_file, 'r') as fp:
mdata = json.load(fp)

jdata_arginfo = simplify_jdata_arginfo()
jdata = normalize(jdata_arginfo, jdata)

if jdata.get('pretty_print', False):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... What is pretty_print used for?

@njzjz njzjz marked this pull request as draft September 15, 2022 22:43
@codecov-commenter
Copy link

codecov-commenter commented Sep 15, 2022

Codecov Report

Merging #951 (dc7c248) into devel (72764d9) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##            devel     #951      +/-   ##
==========================================
- Coverage   38.16%   38.15%   -0.01%     
==========================================
  Files          99       99              
  Lines       17885    17888       +3     
==========================================
  Hits         6825     6825              
- Misses      11060    11063       +3     
Impacted Files Coverage Δ
dpgen/simplify/simplify.py 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

no one uses it
@njzjz njzjz marked this pull request as ready for review September 27, 2022 21:27
@HuangJiameng
Copy link
Collaborator

HuangJiameng commented Sep 28, 2022

I modified the arginfo of simplify based on the sample before, but I am not quite sure about the args. @tuoping has used simplify in transfer learning. She may have a deeper insight into it.

@wanghan-iapcm wanghan-iapcm merged commit 1076c6e into deepmodeling:devel Oct 3, 2022
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.

5 participants