In the C3M4_Assignment of PyTorch: Advanced Architectures and Deployment I am getting a unit test error that seems odd:
Failed test case: Error while executing tests: 'stem.0.0.weight'.
Expected: Execution without errors
Got: Exception raised
It is actually a key error. I have traced the test, and it is this one:
```
# parameters unchanged in original
t = test_case()
changed = [k for k, v in model.state_dict().items() if not torch.equal(v, orig_state[k])]
if changed:
t.failed = True
t.msg = f"Original model parameters were modified: {changed[:5]}..."
t.want = "No mutation of input model weights"
t.got = "Weights changed"
cases.append(t)
All the other unit tests are succeeding, which makes it hard to determine what is going wrong exactly where.
Does anyone have information on this?