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

SP plot: similarity values in legends appear only after running the simulation #992

Closed
ikajic opened this issue Mar 21, 2016 · 8 comments
Closed
Labels

Comments

@ikajic
Copy link
Contributor

ikajic commented Mar 21, 2016

The similarity values in the legend (numbers next to the semantic pointer labels) of a semantic pointer plot appear only after I run the simulation for the first time, and then press the simulation reset button (or play again). They never appear right away.

I have observed this with two different browsers on my machine (and my laptop), so I have been wondering if anyone else can reproduce this?

@ikajic ikajic added the bug label Mar 21, 2016
@jgosmann
Copy link
Collaborator

Not sure if that's a bug or a feature, but before running the simulation there is no data on which a similarity could be computed (one could assume 0, but one could equally well argue that it is undefined)

@ikajic
Copy link
Contributor Author

ikajic commented Mar 21, 2016

The numbers I'm talking about are read-outs from the SP plot and they are computed real time. So at t=0 it should be 0 and after that whatever the plot is showing. When you press the play button first time the plot displays the similarities but the legend doesn't reflect those (there are just labels)

@jgosmann
Copy link
Collaborator

Maybe we should discuss this in person. (Or an image might help.)

@jgosmann
Copy link
Collaborator

I still can't reproduce it, but I understand now what the bug is.

The steps to reproduce would be (if the bug appears on your machine which it might not):

  1. Start nengo_gui and open a SPA model
  2. Add a semantic pointer plot. (Labels will show no similarities; expected as the simulation hasn't started.)
  3. Run the simulation. While the simulation is running, the similarities might not be shown (perfectly reproducible on Ivana's computers, perfectly not reproducible on my computers)
  4. Stop and restart the simulation. Now the similarities are shown.

@tbekolay
Copy link
Member

I can reproduce the bug given those steps! What branches are you on @jgosmann?

Also, should we move this issue to https://github.com/nengo/nengo_gui ?

@jgosmann
Copy link
Collaborator

What branches are you on @jgosmann?

both current master (nengo: 8158ea2, nengo_gui: nengo/nengo-gui@47500695ad)

Also, should we move this issue to https://github.com/nengo/nengo_gui ?

I would say so, I didn't realize that this is on the Nengo issue tracker.

@jgosmann
Copy link
Collaborator

Can someone of you try this with the nengo_gui server-refactor branch?

@jgosmann
Copy link
Collaborator

(moved to nengo/nengo-gui#709)

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

No branches or pull requests

3 participants