RuntimeError: stack expects a non-empty TensorList
Usama3059 opened this issue · comments
Got this error on running on the images folder
Traceback (most recent call last):
File "test.py", line 94, in
test_miou, test_fb_iou = test(model, dataloader_test, args.nshot)
File "test.py", line 44, in test
average_meter.write_result('Test', 0)
File "/content/Volumetric-Aggregation-Transformer/common/logger.py", line 51, in write_result
loss_buf = torch.stack(self.loss_buf)
RuntimeError: stack expects a non-empty TensorList
Thank you for your interest in our research.
Can you please give us more detail? A screenshot or error message you received will help us a lot.
Actually, I have resolved this issue, further, can you tell me how to train and test on custom Dataset and also your training procedures.
Actually, I have resolved this issue, further, can you tell me how to train and test on custom Dataset and also your training procedures.
@Usama3059 May I know how did you solve the issue?