AssertionError in training
yxlu-0102 opened this issue · 3 comments
yxlu-0102 commented
Hello, I ran into this problem when training the aero model:
assert len(self.hr_set) == len(self.lr_set) AssertionError
yxlu-0102 commented
I should be caused by segmenting, can I set segment=None
?
m-mandel commented
It's been a while since I looked at the code, but if I recall correctly, setting segment=None will cause the dataset to get each sample as a whole. You are welcome to dive into the code here:
Line 130 in 63fc8a2
If you need more assistance, please share the config files you used, and print out the actual length of the hr_set and lr_set you are receiving.
yxlu-0102 commented
Have you ever trained the model on the condition of 2-16? If you have, can you provide the pre-trained models?