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

Some questions about SpikeTensor() #34

Open
xiaoluomi opened this issue Nov 1, 2021 · 2 comments
Open

Some questions about SpikeTensor() #34

xiaoluomi opened this issue Nov 1, 2021 · 2 comments

Comments

@xiaoluomi
Copy link

Hi, Here are some questions about SpikeTensor. As you said SpikeTensor is a time series of 0 or 1. But after I convert imgs tensor to SpikeTensor by SpikeTensor(), I can't find the time series. I'd like to ask you about the method of converting the images to spike, is it Poisson flow? Can you tell me how to find the time series corresponding to each pixel of each picture? May it is a tensor like [1,0,1,1,1,0,1,0 ], the len(tensor)=timesteps ? or T=1 spike_img=[ [1,0,1], [0,1,0]... [0,1,1] ] T=2 spike_img=[ [1,1,1], [1,1,0]...[0,1,0] ] ....I tried for a long time and still couldn't figure it out. I really look forward to your reply.

@cwq159
Copy link
Owner

cwq159 commented Nov 4, 2021

The first layer is used to convert the images to spike. To be specific, we use the IF neurons with the images as the input to generate spike.

@xiaoluomi
Copy link
Author

Thank you for your reply. I find it .According to my understanding ,If I change the input into spike time series, the model should also be able to output the corresponding results.

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

2 participants