-
Notifications
You must be signed in to change notification settings - Fork 525
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
breaking: use all sets for training and test #3862
Conversation
Fix deepmodeling#3860. Remove `train_dirs` and `test_dir` in `DeepmdData`. Signed-off-by: Jinzhe Zeng <[email protected]>
Warning Rate limit exceeded@njzjz has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 45 minutes and 58 seconds before requesting another review. How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. WalkthroughThe recent changes in Changes
Sequence Diagram(s) (Beta)sequenceDiagram
participant User
participant DeepmdData
participant TestSet
User->>DeepmdData: Initialize without trn_all_set
DeepmdData->>DeepmdData: Simplify training directory logic
User->>DeepmdData: Request test set
DeepmdData->>TestSet: Merge test sets from all directories
TestSet->>DeepmdData: Return merged and shuffled test set
DeepmdData->>User: Provide comprehensive test set
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## devel #3862 +/- ##
=======================================
Coverage 82.66% 82.66%
=======================================
Files 517 517
Lines 49724 49720 -4
Branches 2984 2984
=======================================
- Hits 41105 41102 -3
+ Misses 7709 7708 -1
Partials 910 910 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Jinzhe Zeng <[email protected]>
Fix deepmodeling#3860. Remove `train_dirs` and `test_dir` in `DeepmdData`. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - All data sets are now trained and tested by default, simplifying the training process. - **Bug Fixes** - Improved logic for handling training directories and test set merging. - **Tests** - Added new test cases for the updated data handling methods. - Updated existing tests to reflect changes in data set handling and batch sizes. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Jinzhe Zeng <[email protected]>
Fix #3860.
Remove
train_dirs
andtest_dir
inDeepmdData
.Summary by CodeRabbit
New Features
Bug Fixes
Tests