Comments (6)
Hi Thanks for the message.
The procedure to visualize the algorithm architecture of a conf file is as follows:
- intall graphviz:
sudo apt-get install graphviz
- run the training for a few epochs
python -m alf.bin.train --conf=path_to_conf --root_dir=path_to_results
The figure algorithm_sturcture.png
will be saved to the root dir.
Let us know if you have further questions.
from alf.
sry... I didn't find anything like a png in root dir.
from alf.
oh, i find this "W0503 23:24:27.788165 140296919340224 policy_trainer.py:111] Need "graphviz" installed if you want to visualize modules".
But i have installed it.
from alf.
Hi @Mming11,
The graphviz
module prompted by alf
actually means the graphviz
python module. Depending on how you build your python development environment for alf
, you may need to do so with poetry add graphviz
or pip install graphviz
. The package you have installed via apt
does not provide the python package, at least not directly in your development environment as it appears.
Also, what kind of visualization do you expect?
from alf.
Here is the visualization that I generated for ppg_metadrive_transformer
. Hope it helps.
from alf.
Oh, that's great. Thank you very much!!!
from alf.
Related Issues (20)
- Apple M1 GPU - PyTorch "mps" backend support HOT 1
- multi-gpu training issue
- Extended sensor suites (obstacle, dynamic object, red-light etc)
- documentation not generated
- Interferenceless Parallel Carla Environment
- API change to policy_trainer._step makes CI stuck without informative error message HOT 1
- Imitation for Driving (code + doc) HOT 1
- How to get to the next step the AlfGymWrapper class HOT 3
- How to get which Vehicle light state of each actor ? HOT 2
- Dormant/Collided vehicles disappear even after commenting lines in ALSM.CPP HOT 2
- Offline Buffer with Disk Storage Option
- Need to upgrade the CI ubuntu version HOT 1
- ModuleNotFoundError: No module named '_cnest' HOT 5
- Need to update pytorch version for better GPU cards HOT 1
- fast parallel env sometimes hangs after ctrl+c
- TypeError: configurable() got an unexpected keyword argument 'whitelist' HOT 10
- Broken documentation HOT 1
- A method for managing upstream training task confs
- multi-gpu training issue HOT 3
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 alf.