-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Tensorboard integration #9
Comments
Good news is I think if we log with e.g. tensorboardX there would be no need to have a TensorFlow dependency. The TensorBoard UI itself I believe does not require TensorFlow: it's requirements.txt doesn't list it and in a fresh virtual environment after I pip install tensorboard I get: $ pip list | grep tensorboard
tensorboard 2.2.1
tensorboard-plugin-wit 1.6.0.post3
$ pip list | grep tensorflow
$ That said, we should probably still keep this dependency optional. |
I wanted to use the "native" integration of PyTorch because I don't know how "tensorboardX" is maintained (it seems quite active though), but yes, something to consider.
Interesting, I was convinced that it did. |
Here's a list of tensorboard alternatives worth considering: https://neptune.ai/blog/the-best-tensorboard-alternatives |
This is the initial plan, but it requires tensorflow for now (as far as I know).
nice, are you aware of the rl zoo? (it looks like you re-implemented part of its features) |
@araffin Looks like I reinvented the wheel, haha! Thanks for the link! |
@Ankur-Deka are you currently working on this? |
@rolandgvc I am not |
Ok. @araffin can you assign this to me then? I'll start looking into it 👍 |
@araffin would you like |
i would say yes, depends on what you mean exactly |
In that case, do we make tensorboard a requirement for the library or do we add the option to log all the variables that would otherwise have been written to tb? Also, I couldn't find instances when |
so, no, it should be optional (the same we make documentation and test packages optional). EDIT: I did not get the part for the verbose=2 |
After some tests, it seems that tensorboard does not require tensorflow anymore. I would put it either in core dependencies or in extra. What do you think? |
I'd lean slightly towards it being an extra, since not everyone will want to use TensorBoard logging. Don't have strong feelings though: since TensorBoard is fairly lightweight making it mandatory is not a big deal. |
Maybe do that in the logger...
It should be optional as it requires tensorflow to be installed...
@rolandgvc is working on it
The text was updated successfully, but these errors were encountered: