-
Notifications
You must be signed in to change notification settings - Fork 468
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
TensorBoardLogger: AttributeError: module 'tensorflow' has no attribute 'io' #2090
Comments
Hey @fabiogeraci - taking a look at this. Are you using a distributed or single device recipe? |
Single at the moment |
Got it! It looks like you might be hitting an import error, which is causing the TensorboardLogger to incorrectly shut down b/c it doesn't have time to setup the actual writer ( I've created a PR that might fix this #2092; however, there's a good chance of some earlier error that might help you resolve this faster. Perhaps looking into |
In theory it should use |
I have the following dependency versions:
And I am able to run the following with no problems: (test) [jrcummings@devvm4767.pnb0 ~/projects]$ python
Python 3.11.10 (main, Oct 3 2024, 07:29:13) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from torch.utils.tensorboard import SummaryWriter
>>> Maybe a conflicting dependency with tensorflow as pointed out in the above StackOverflow post? |
mine
as me
|
|
the whole error stack
|
Thanks for the full trace. As of now, I am still unable to reproduce your error neither via the direct import of Next I'll try downloading your entire list of packages and kick off a run b/c my only guess at this point is there's some dependency issue. |
I want to mention that i am running the job via LSF and openmpi, MlFlow is there, because the idea is to allow our users to use the company tracking server based on mlflow. maybe this can help
|
|
DiskLogger works corectly
The text was updated successfully, but these errors were encountered: