Comments (9)
I think it's the same case as mentioned in #17, and
pip install tensorboardX
should solve the problem.
from tensorboardx.
@YangSN0719 It should be from tensorboardX, not tensorboard.
from tensorboardx.
hello,
i have problem please helpimport tensorboardX
Traceback (most recent call last):
File "", line 1, in
File "/home/rahul/anaconda3/envs/semseg/lib/python2.7/site-packages/tensorboardX/init.py", line 5, in
from .torchvis import TorchVis
File "/home/rahul/anaconda3/envs/semseg/lib/python2.7/site-packages/tensorboardX/torchvis.py", line 11, in
from .writer import SummaryWriter
File "/home/rahul/anaconda3/envs/semseg/lib/python2.7/site-packages/tensorboardX/writer.py", line 223
logdir: Optional[str] = None,
^
SyntaxError: invalid syntaxI meet this too,have you solved this?/(ㄒoㄒ)/~~
i installed using conda tensorboardx 2.4
from tensorboardx.
You are right.
from tensorboardx.
from tensorboard import summary as summary_lib
from tensorboard.plugins.custom_scalar import layout_pb2
When I was running the following command, an error occurred. I'm sorry to bother you, but please help me anyway
(n2n) [410@mu01 noise2noise-master]$ python config.py validate --dataset-dir=datasets/kodak --network-snapshot=results/network_final-gaussian-n2c.pickle
Traceback (most recent call last):
File "config.py", line 14, in
import validation
File "/home/410/ysn/noise2noise-master/validation.py", line 16, in
import dnnlib.tflib.tfutil as tfutil
File "/home/410/ysn/noise2noise-master/dnnlib/tflib/init.py", line 8, in
from . import autosummary
File "/home/410/ysn/noise2noise-master/dnnlib/tflib/autosummary.py", line 28, in
from tensorboard import summary as summary_lib
ImportError: cannot import name 'summary'
from tensorboardx.
hello,
i have problem please help
import tensorboardX
Traceback (most recent call last):
File "", line 1, in
File "/home/rahul/anaconda3/envs/semseg/lib/python2.7/site-packages/tensorboardX/init.py", line 5, in
from .torchvis import TorchVis
File "/home/rahul/anaconda3/envs/semseg/lib/python2.7/site-packages/tensorboardX/torchvis.py", line 11, in
from .writer import SummaryWriter
File "/home/rahul/anaconda3/envs/semseg/lib/python2.7/site-packages/tensorboardX/writer.py", line 223
logdir: Optional[str] = None,
^
SyntaxError: invalid syntax
from tensorboardx.
hello,
i have problem please help
import tensorboardX
Traceback (most recent call last):
File "", line 1, in
File "/home/rahul/anaconda3/envs/semseg/lib/python2.7/site-packages/tensorboardX/init.py", line 5, in
from .torchvis import TorchVis
File "/home/rahul/anaconda3/envs/semseg/lib/python2.7/site-packages/tensorboardX/torchvis.py", line 11, in
from .writer import SummaryWriter
File "/home/rahul/anaconda3/envs/semseg/lib/python2.7/site-packages/tensorboardX/writer.py", line 223
logdir: Optional[str] = None,
^
SyntaxError: invalid syntax
I meet this too,have you solved this?/(ㄒoㄒ)/~~
from tensorboardx.
@iszff @soans1994 Please update to python3 for the newer tensorboardX. I should have release the package with a correct metadata. sorry.
from tensorboardx.
I installed using conda, and run with pytorch, but the wrong below still, how can solve the problem?
Traceback (most recent call last):
File "E:\yolo\content\yolov7\train.py", line 21, in
from torch.utils.tensorboard import SummaryWriter
ImportError: cannot import name 'SummaryWriter' from 'torch.utils.tensorboard' (unknown location)
from tensorboardx.
Related Issues (20)
- tensorboardX is incompatible with protobuf 4.21.0 HOT 16
- draw NaN with triangle
- Subsequent hparams missing HOT 4
- DeprecationWarning: crc32c.crc32 will be eventually removed, use crc32c.crc32c instead HOT 2
- AttributeError: 'NoneType' object has no attribute 'get_logdir' HOT 3
- Protobuf version HOT 4
- How can I connect previous log file into new one in tensorboard HOT 1
- How can i read tensorboard by python ? HOT 2
- Deprecation Warnings HOT 15
- OSS License compatibility question
- Remove upper pins on protobuf HOT 4
- tensorboardX is converting white/blank space and other non alphanumeric characters to underscore
- Update unittests for newer protobuf
- Possibility of v2.5.2 with upper pin on protobuf of <4? HOT 3
- The license_file parameter is deprecated HOT 3
- Loosening protobuf version limit breaking downstream packages HOT 7
- Is there an efficient way to log line plots? HOT 5
- EOFError multiprocessing HOT 1
- Set experiment name when using CometML HOT 1
- Support add_mesh for visdom writer?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorboardx.