Git Product home page Git Product logo

Comments (6)

Haichao-Zhang avatar Haichao-Zhang commented on July 26, 2024

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.

Mming11 avatar Mming11 commented on July 26, 2024

sry... I didn't find anything like a png in root dir.

from alf.

Mming11 avatar Mming11 commented on July 26, 2024

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.
2023-05-03 23-26-28 的屏幕截图

from alf.

breakds avatar breakds commented on July 26, 2024

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.

breakds avatar breakds commented on July 26, 2024

algorithm_sturcture

Here is the visualization that I generated for ppg_metadrive_transformer. Hope it helps.

from alf.

Mming11 avatar Mming11 commented on July 26, 2024

Oh, that's great. Thank you very much!!!

from alf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.