-
Notifications
You must be signed in to change notification settings - Fork 232
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] Support saving and loading npz file in offline evaluation mode. #201
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #201 +/- ##
==========================================
- Coverage 75.60% 75.27% -0.34%
==========================================
Files 128 129 +1
Lines 8933 9051 +118
Branches 1783 1807 +24
==========================================
+ Hits 6754 6813 +59
- Misses 1729 1786 +57
- Partials 450 452 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
save_npz (bool, optional): Whether save the generated images to a npz | ||
file named 'samples_{NUM_IMAGES}x{H}x{W}x{NUM_CHANNELS}.npz' If | ||
true, dataset will be build upon npz file instead of image files. | ||
Defaults to True. |
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.
Defaults to False
A description to clarify why you pull this request is supposed to be offered. Also, our documentation should be updated accordingly. |
Refactor data loader configs.
Time cost comparison
This feature can greatly speed up sampling result saving and metric evaluation.