-
Notifications
You must be signed in to change notification settings - Fork 47
Completed docs #400
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
Completed docs #400
Conversation
andreaazzini
left a comment
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.
Looks good, couple comments
| target: torch.Tensor = self.get_target(index) | ||
| return target["category_id"] | ||
|
|
||
| def measure_weights(self, **kwargs) -> np.ndarray: |
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.
Can we run a test, just to make sure that calling measure_weights with no kwargs is valid?
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.
How would I run a test for that? (I don;t know enough to know how to use this :S )
|
On a side note, I would like to point out: By now, more than half of the screen are warnings about deprecated functions. Maybe next release can be 0.8.0? |
andreaazzini
left a comment
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.
PR looks good, I'm checking if any of our official integrations use measure_weights by sending any additional kwargs, once I complete the check we can merge to master
andreaazzini
left a comment
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.
Actually, blocking: tests not passing on Windows?
|
We cannot use Python versions supported for this release are 3.7-3.9, support for Python 3.6 has been dropped. https://numpy.org/doc/stable/release/1.20.0-notes.html Yet another reason to drop Python 3.6. |
No description provided.