-
Notifications
You must be signed in to change notification settings - Fork 0
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
update integration #12
Conversation
torchvision = "^0.14.0" | ||
torch = { version = "^1.13.0", optional = true } | ||
torchvision = { version = "^0.14.0", optional = true } | ||
neptune = { version = ">=1.0.0", optional = 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.
I think detectron2 should also be an optional dependency. Wdyt?
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.
It's not that easy, as it is only installed from GitHub repo, not PyPI and I've been having issued with adding that to poetry (that's why there is a seperate step just to install detectron2 in out CI)
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.
Makes sense.
raise ValueError(f"Update freq should be greater than 0. Got {self._metrics_update_freq}.") | ||
if not isinstance(self._metrics_update_freq, int): | ||
raise TypeError( | ||
f"Smoothing window size should be of type int. Got {type(self._metrics_update_freq)} instead." |
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.
metrics_update_freq should be of type int
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.
LGTM
Thanks @AleksanderWWW
What's changing:
neptune
norneptune-client
is part of the requirementsneptune
norneptune-client
is installed, an appropriate exception is raised with instructions for installationsmoothing_window_size
->metrics_update_freq