Skip to content
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

Visualise WANN topologies #8

Open
mforcexvi opened this issue Oct 24, 2019 · 9 comments
Open

Visualise WANN topologies #8

mforcexvi opened this issue Oct 24, 2019 · 9 comments

Comments

@mforcexvi
Copy link

Hi,

This is really fascinating work that you have done here! Thank you for sharing your code.

May I know where I can find the code to visualise the WANN topologies in the same way that you have done in your paper?
image

I thought it might be in the WANNTool folder but it seems like that code is for viewing the agent in action in the environment rather than viewing the network topology.

Thanks!

@agaier
Copy link
Collaborator

agaier commented Oct 24, 2019

Thanks for the kind words!

The images are more or less 'by hand'. The graphs were produced from the weight matrices with MATLAB's graph plot function, and then further cleaned up with Adobe Illustrator. I looked for quite some time for an open source DAG plotting library (and tried my hand at creating scripts), but couldn't find anything that looked as clean.

@mforcexvi
Copy link
Author

Thanks for replying so quickly! They are very nice visualisations!

@MANXIU
Copy link

MANXIU commented Nov 12, 2019

I found a way to visualise the network topology,you could try to using graphviz

@mforcexvi
Copy link
Author

Oh that's great! Would you be able to share your code?

@MANXIU
Copy link

MANXIU commented Nov 14, 2019

I haven't encapsulate, I just realized the function

@joaogui1
Copy link
Contributor

I haven't encapsulate, I just realized the function

@MANXIU can you share what you coded please?
@agaier what are the scripts in the vis directory exactly? I'm trying to use them, but I'm encountering many errors

@agaier
Copy link
Collaborator

agaier commented Jan 23, 2020

hey @joaogui1, the scripts in the vis directory were used to visualize topologies -- but I was not satisfied with the result and so took another route (see above). I'm not sure if they still work...in a notebook they would take a square weight matrix (for the connections) and a task name (e.g. swingup) to know how many inputs and outputs are used.

@joaogui1
Copy link
Contributor

Oh, got it. Thanks! I will keep messing with them until I get something that does what I need

@eforbes24
Copy link

Hey all! Just wondering if anyone has any scripts available for easily visualizing the topologies, I plan on checking out graphviz and trying out MATLAB but I'm still generally new to coding and was hoping to streamline the process. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants