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

add numb_fparam argument to property fitting #4396

Closed
github-actions bot opened this issue Nov 21, 2024 · 2 comments · Fixed by #4405
Closed

add numb_fparam argument to property fitting #4396

github-actions bot opened this issue Nov 21, 2024 · 2 comments · Fixed by #4405

Comments

@github-actions
Copy link

Line: 60

"type": "property",
"neuron": [4, 4, 4],
"resnet_dt": True,
# TODO: add numb_fparam argument to property fitting
"_numb_fparam": 0,
"precision": "float64",
"seed": 1,
},
}
tf_class = None

@njzjz
Copy link
Member

njzjz commented Nov 22, 2024

I found property does have numb_fparam and numb_aparam.

@njzjz njzjz added the solved label Nov 22, 2024
njzjz added a commit to njzjz/deepmd-kit that referenced this issue Nov 22, 2024
Fix deepmodeling#4396. Fix deepmodeling#4397. Fix deepmodeling#4398. Throw errors for TF.

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@njzjz njzjz linked a pull request Nov 22, 2024 that will close this issue
github-merge-queue bot pushed a commit that referenced this issue Nov 23, 2024
Fix #4396. Fix #4397. Fix #4398. Throw errors for TF.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
- Introduced new parameters `numb_fparam` and `numb_aparam` for improved
fitting configurations in both dipole and polar fitting classes.
- Added methods to retrieve the values of the new parameters and
enhanced input requirement management.

- **Documentation**
- Updated training documentation to clarify the handling of new
parameters and their limitations in the TensorFlow backend.

- **Bug Fixes**
- Updated test configurations to reflect the new parameter structure,
ensuring consistency across tests for dipole and polar models.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Author

Closed in commit 2ce3276

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant