Comments (9)
What is DenseNet3
? Any error message?
from tensorboardx.
DenseNet3 is a class used to create the DenseNet, listed as follows; There are no error message, it just stops here, and does not go to train(cause train the net will print the process), i also opened the tensorboard, found nothing in it. sad....
class DenseNet3(nn.Module):
def init(self, depth=10, num_classes=10, growth_rate=12,
reduction=0.5, bottleneck=False, dropRate=0.2, inputdim=24):
from tensorboardx.
Even the example in https://github.com/lanpa/tensorboard-pytorch/blob/880fbaf6edd85b9e8ed1ab884daf1ed0b836c16c/demo_graph.py doesn't work. The error message was KeyError: 4646265864
.
I am using tensorflow 1.4.1 and pytorch 0.3. Are they not supported yet?
from tensorboardx.
@akurniawan The current add_graph function only supports pytorch v0.2. For 0.3 please try the onnx version: https://github.com/lanpa/tensorboard-pytorch/blob/master/onnx_graph.py
(you may need to install onnx as well)
from tensorboardx.
The onnx_graph.py script linked above does not exist for me.
Could you clarify how to get a working graph visualization using pytorch 0.3?
from tensorboardx.
@adamtwig I believe this is the correct one https://github.com/lanpa/tensorboard-pytorch/blob/master/demo_graph.py
from tensorboardx.
@adamtwig @akurniawan
https://github.com/lanpa/tensorboard-pytorch/blob/9a3f9cca7057af515df64fdbfa523dbf16c1211d/onnx_graph.py
The onnx version don't have scope feature. So the graph is not pretty.
I you know how to build pytorch0.4, I strongly suggest you to use the new graph plotting function.
from tensorboardx.
@lanpa are you referring to this one? https://github.com/szagoruyko/functional-zoo/blob/master/visualize.py, so far that's the only thing that I can found and it's not official from pytorch. so I don't think pytorch 0.4 is necessary(?)
from tensorboardx.
The internal graph representation are slightly different between pytorch 0.2, 0.3, 0.4
So tensorboard-pytorch uses different code to dump the graph.
To be more clear:
In 0.3, the easiest way is first dump the graph from pytorch to onnx, then dump from onnx.
(need to install onnx)
https://github.com/lanpa/tensorboard-pytorch/blob/9a3f9cca7057af515df64fdbfa523dbf16c1211d/onnx_graph.py
In 0.4(master branch), the network can be dumped to tensorboard directly without temporarily exporting to onnx. And I think the best thing is that scope is supported in this version :)
https://github.com/lanpa/tensorboard-pytorch/blob/master/demo_graph.py
Btw, the visualize.py
should work for v0.2
You can see the result from the newest version:
http://35.197.26.245:6006/
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.