zilongzhong/SSTN

I'm having problems testing my data set"index 2561 is out of bounds for axis 0 with size 2561"

Opened this issue · 3 comments

Dear zilong,when I replace my dataset with my own dataset, it makes an error.

File "C:/Users/Wang/Desktop/SSTN-main/train UP.py",line 232,in
test_data[i] = selectNeighboringPatch(padded_data,PATCH_LENGTH,test_assign[i][0],test_assign[i][1])
IndexError: index 2561 is out of bounds for axis 0 with size 2561.

My dataset works on the SSRN you published earlier.My data set format is512512204.
Hope you can answer this question, thank you very much。

Dear zilong
Hello, I found this problem in both sample_200 and rsample_200.
How do you determine the number in sample_200 and rsample_200?

Dear zilong,Thank you very much for your reply.Please forgive me for being a beginner and disturbing your time.
For my data I set sample_200 to [100,100] and rsample_200 to [110,90]. Is sample_200 set randomly?
And I changed ratio in NetworksBlocks. Py does that affect training?