Skip to content

Latency Encoding #36

Answered by jeshraghian
Dola47 asked this question in Q&A
Apr 19, 2021 · 3 comments · 23 replies
Discussion options

You must be logged in to vote

That is not actually my aim, I need to have everything Latency encoded, then I do not know how to insert or use my labels when I latency encodes my data. It would be helpful then if you can show me how to do that. Can you provide some modification to the above code to have the data, and labels latency encoded and trained upon that?

Unfortunately I don't have the time to write your training loop, though I may include it in future tutorials.

Until then, here are some issues with your code that suggest you're training a rate coded output, and not latency:

loss_fn(log_p_y[step], targets_it) - your target is encouraging your network to fire at every single time step. This is effectively rate…

Replies: 3 comments 23 replies

Comment options

You must be logged in to vote
1 reply
@Dola47
Comment options

Comment options

You must be logged in to vote
19 replies
@jeshraghian
Comment options

@Dola47
Comment options

@jeshraghian
Comment options

@Dola47
Comment options

@jeshraghian
Comment options

Answer selected by jeshraghian
Comment options

You must be logged in to vote
3 replies
@Dola47
Comment options

@Spice-monkey
Comment options

@SevillaFe
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants