Open Yu-fei-Han opened 1 week ago
Thanks for the debugging. I used 2047 since most of the polarization images are captured using cameras with the same Sony IMX250MYR sensor. In fact, a more reasonable way is to preprocess the data in dataloader. I'll update the code later.
Thank you for your work!
However, when testing your method on other datasets, I consistently encounter an "index out of bounds" error. To troubleshoot this, I have repeatedly checked for the source of the problem.
Ultimately, I discovered that the issue lies in the function
preprocess_data
inPISR/systems/pol_neus.py
at line 118. The line of code should be:instead of:
This adjustment restricts the index range correctly based on the dataset dimensions.
I look forward to your update.