Multilayer-SNN-for-audio-samples-classification-using-SpiNNaker icon indicating copy to clipboard operation
Multilayer-SNN-for-audio-samples-classification-using-SpiNNaker copied to clipboard

Getting the error

Open pmgautham opened this issue 3 years ago • 7 comments

Screenshot (1107) Screenshot (1108)

I am getting this error can you please help me to solve it.

pmgautham avatar Mar 07 '21 05:03 pmgautham

Screenshot (1107) Screenshot (1108)

I am getting this error can you please help me to solve it.

getting the same error. please help solving the error

sakib160205029 avatar May 05 '21 18:05 sakib160205029

Hi, Can you try commenting line #160? Best, JP

jpdominguez avatar May 05 '21 19:05 jpdominguez

Hi, Can you try commenting line #160? Best, JP

above problem solved. thank you.

I got into another error. can you help solving this error ? :

ssq ssq2

AttributeError Traceback (most recent call last) in 190 191 # Then, call "pyNavis.adapt" for adapting the events' timestamps --> 192 sample_file_data = pyNAVIS.Functions.adapt_SpikesFile(sample_file_data, pynavis_settings) 193 # And check that everything is OK 194 pyNAVIS.Functions.check_SpikesFile(sample_file_data, pynavis_settings)

AttributeError: type object 'Functions' has no attribute 'adapt_SpikesFile'

sakib160205029 avatar May 07 '21 06:05 sakib160205029

Hi :)

That error is due to pyNAVIS was updated, and that function was modified. Instead using:

sample_file_data = pyNAVIS.Functions.adapt_SpikesFile(sample_file_data, pynavis_settings)

you must use:

sample_file_data.timestamps = pyNAVIS.Functions.adapt_timestamps(sample_file_data.timestamps, pynavis_settings)

dgutierrezATC avatar May 07 '21 08:05 dgutierrezATC

Hi :)

That error is due to pyNAVIS was updated, and that function was modified. Instead using:

sample_file_data = pyNAVIS.Functions.adapt_SpikesFile(sample_file_data, pynavis_settings)

you must use:

sample_file_data.timestamps = pyNAVIS.Functions.adapt_timestamps(sample_file_data.timestamps, pynavis_settings)

thank you it solved the error .

now I'm getting this error : ssq23 [Functions.check_SpikesFile] > TimestampOrderError: The SpikesFile file that you loaded has at least one timestamp whose value is lesser than its previous one. [Functions.check_SpikesFile] > AddressValueError: The SpikesFile file that you loaded has at least one event whose address is either less than 0 or greater than the number of addresses that you specified. c:\users\sakib\appdata\local\programs\python\python38\lib\site-packages\pyNAVIS\plots.py:229: UserWarning: Matplotlib is currently using module://ipykernel.pylab.backend_inline, which is a non-GUI backend, so cannot show the figure.

sakib160205029 avatar May 07 '21 10:05 sakib160205029

Thankyou.

On Fri, May 7, 2021 at 4:21 PM sakib160205029 @.***> wrote:

Hi :)

That error is due to pyNAVIS was updated, and that function was modified. Instead using:

sample_file_data = pyNAVIS.Functions.adapt_SpikesFile(sample_file_data, pynavis_settings)

you must use:

sample_file_data.timestamps = pyNAVIS.Functions.adapt_timestamps(sample_file_data.timestamps, pynavis_settings)

thank you it solved the error .

now I'm getting this error : [image: ssq23] https://user-images.githubusercontent.com/83664531/117439241-703b9a00-af54-11eb-89bc-262197e89502.PNG [Functions.check_SpikesFile] > TimestampOrderError: The SpikesFile file that you loaded has at least one timestamp whose value is lesser than its previous one. [Functions.check_SpikesFile] > AddressValueError: The SpikesFile file that you loaded has at least one event whose address is either less than 0 or greater than the number of addresses that you specified. c:\users\sakib\appdata\local\programs\python\python38\lib\site-packages\pyNAVIS\plots.py:229: UserWarning: Matplotlib is currently using module://ipykernel.pylab.backend_inline, which is a non-GUI backend, so cannot show the figure.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jpdominguez/Multilayer-SNN-for-audio-samples-classification-using-SpiNNaker/issues/1#issuecomment-834262788, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALUO4IOV4MUQHQKNTXC7O5DTMPA37ANCNFSM4YXPSIRA .

pmgautham avatar May 07 '21 11:05 pmgautham

Hi :) That error is due to pyNAVIS was updated, and that function was modified. Instead using: sample_file_data = pyNAVIS.Functions.adapt_SpikesFile(sample_file_data, pynavis_settings) you must use: sample_file_data.timestamps = pyNAVIS.Functions.adapt_timestamps(sample_file_data.timestamps, pynavis_settings)

thank you it solved the error .

now I'm getting this error : ssq23 [Functions.check_SpikesFile] > TimestampOrderError: The SpikesFile file that you loaded has at least one timestamp whose value is lesser than its previous one. [Functions.check_SpikesFile] > AddressValueError: The SpikesFile file that you loaded has at least one event whose address is either less than 0 or greater than the number of addresses that you specified. c:\users\sakib\appdata\local\programs\python\python38\lib\site-packages\pyNAVIS\plots.py:229: UserWarning: Matplotlib is currently using module://ipykernel.pylab.backend_inline, which is a non-GUI backend, so cannot show the figure.

Which files are you using as input?

jpdominguez avatar May 07 '21 12:05 jpdominguez