Submission failed

“AttributeError: ‘NoneType’ object has no attribute ‘shape’. View the submission for more details.”

how can i solve this error? thanks

We are looking into the issue, I will give you updates as soon as possible :slight_smile:

sure no problem :smile:

Sorry for a little late reply but I looked into the notebook & the output .mp4 predictions, and found out that the videos the gen_predictions function is outputting contains only single frame.

And it’s because the predictions variable, from the model.nn_module.predict(image_batch) in gen_predictions function, has shape torch.Size([1, 1, 128, 128]) which represents a single image, the image_batch variable has also the same shape.

So i find out the main reason for this error is because you changed the batch size of test_loader from 23 ( in getting started code ) to 1. The main reason of using batch size of 23 in getting started code was because that each batch will represent each video.:slight_smile: So, you will change to change your batch size to 23 and hopefully it will all work.

Let me surely know if you have any more doubts.

Cheers
Shubhamai

1 Like

ohh okay okay thanks man ! <3