-
Notifications
You must be signed in to change notification settings - Fork 373
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
feature(whl): add PC algorithm #514
Conversation
Codecov Report
@@ Coverage Diff @@
## main #514 +/- ##
==========================================
- Coverage 83.60% 83.28% -0.32%
==========================================
Files 564 566 +2
Lines 46237 46600 +363
==========================================
+ Hits 38658 38813 +155
- Misses 7579 7787 +208
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
ding/entry/serial_entry_pc.py
Outdated
|
||
|
||
# BFS algorithm | ||
def get_vi_sequence(env, observation): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move this function to ding/utils
ding/entry/serial_entry_pc.py
Outdated
|
||
train_dataset = DataLoader(train_data, batch_size=batch_size, shuffle=True) | ||
test_dataset = DataLoader(test_data, batch_size=batch_size, shuffle=True) | ||
return train_dataset, test_dataset |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move the code related to dataset to ding.utils.data.dataset.py
Description
Related Issue
TODO
Check List