Hi,I am doing hw2p1, part 7. The autograde is stopped at (get the value at the reference value, not even run the build-cnn. Is there any bug in runner.py?y1 = ref_model(x_torch)
TA Answer
The autograder stopped due to a size mismatch as per the error message.A simple way to debug your code would be to print the shape of the intermediate variables.
Model Answer
It's possible that there is a bug in the `runner.py` file, but it's also possible that there is an issue with your code.
Here are a few things you can try to troubleshoot the issue:
1. Double-check that your code is correct and matches the instructions for the assignment. Make sure that you have implemented the `build_cnn` function correctly and that you are passing the correct inputs to the `ref_model` function.
2. Check that you have installed all the necessary packages and dependencies for the assignment. Make sure that you have installed PyTorch and any other required libraries.
3. Try running the code on a different machine or environment to see if the issue persists. This can help you determine if the issue is specific to your setup.
4. Reach out to the course staff or other students in the class to see if anyone else has experienced a similar issue. They may be able to provide additional insight or help you troubleshoot the problem.