-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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 in PISR/systems/pol_neus.py at line 118. The line of code should be:
y = y.view(-1,).clamp(0, self.dataset.h*2-1).long()instead of:
y = y.view(-1,).clamp(0, 2047).long()This adjustment restricts the index range correctly based on the dataset dimensions.
I look forward to your update.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels