Following an issue with cuda, which I’ve resolved, I am not unable to load model states.
The cuda error was “no CUDA-capable device is detected” which ended up being something I broke during unrelated installations. apt --fix-broken install fixed it.
But now it seems that I cannot load any previously saved models:
RuntimeError: Error(s) in loading state_dict for ConvNet:
	Unexpected key(s) in state_dict: "clas_net.features.norm0.num_batches_tracked", "clas_net.features.denseblock1.denselayer1.norm1.num_batches_tracked", "clas_net.features.denseblock1.denselayer1.norm2.num_batches_tracked", "clas_net.features.denseblock1.denselayer2.norm1.num_batches_tracked", "clas_net.features.denseblock1.denselayer2.norm2.num_batches_tracked", "clas_net.features.denseblock1.denselayer3.norm1.num_batches_tracked", "clas_net.features.denseblock1.denselayer3.norm2.num_batches_tracked", "clas_net.features.denseblock1.denselayer4.norm1.num_batches_tracked", "clas_net.features.denseblock1.denselayer4.norm2.num_batches_tracked", "clas_net.features.denseblock1.denselayer5.norm1.num_batches_tracked", "clas_net.features.denseblock1.denselayer5.norm2.num_batches_tracked", "clas_net.features.denseblock1.denselayer6.norm1.num_batches_tracked", "clas_net.features.denseblock1.denselayer6.norm2.num_batches_tracked", "clas_net.features.transition1.norm.num_batches_tracked", "clas_net.features.denseblock2.denselayer1.norm1.num_batches_tracked", "clas_net.features.denseblock2.denselayer1.norm2.num_batches_tracked", "clas_net.features.denseblock2.denselayer2.norm1.num_batches_tracked", "clas_net.features.denseblock2.denselayer2.norm2.num_batches_tracked", "clas_net.features.denseblock2.denselayer3.norm1.num_batches_tracked", "clas_net.features.denseblock2.denselayer3.norm2.num_batches_tracked", "clas_net.features.denseblock2.denselayer4.norm1.num_batches_tracked", "clas_net.features.denseblock2.denselayer4.norm2.num_batches_tracked", "clas_net.features.denseblock2.denselayer5.norm1.num_batches_tracked", "clas_net.features.denseblock2.denselayer5.norm2.num_batches_tracked", "clas_net.features.denseblock2.denselayer6.norm1.num_batches_tracked", "clas_net.features.denseblock2.denselayer6.norm2.num_batches_tracked", "clas_net.features.denseblock2.denselayer7.norm1.num_batches_tracked", "clas_net.features.denseblock2.denselayer7.norm2.num_batches_tracked", "clas_net.features.denseblock2.denselayer8.norm1.num_batches_tracked", "clas_net.features.denseblock2.denselayer8.norm2.num_batches_tracked", "clas_net.features.denseblock2.denselayer9.norm1.num_batches_tracked", "clas_net.features.denseblock2.denselayer9.norm2.num_batches_tracked", "clas_net.features.denseblock2.denselayer10.norm1.num_batches_tracked", "clas_net.features.denseblock2.denselayer10.norm2.num_batches_tracked", "clas_net.features.denseblock2.denselayer11.norm1.num_batches_tracked", "clas_net.features.denseblock2.denselayer11.norm2.num_batches_tracked", "clas_net.features.denseblock2.denselayer12.norm1.num_batches_tracked", "clas_net.features.denseblock2.denselayer12.norm2.num_batches_tracked", "clas_net.features.transition2.norm.num_batches_tracked", "clas_net.features.denseblock3.denselayer1.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer1.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer2.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer2.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer3.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer3.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer4.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer4.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer5.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer5.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer6.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer6.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer7.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer7.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer8.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer8.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer9.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer9.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer10.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer10.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer11.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer11.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer12.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer12.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer13.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer13.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer14.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer14.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer15.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer15.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer16.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer16.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer17.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer17.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer18.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer18.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer19.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer19.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer20.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer20.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer21.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer21.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer22.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer22.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer23.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer23.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer24.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer24.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer25.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer25.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer26.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer26.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer27.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer27.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer28.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer28.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer29.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer29.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer30.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer30.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer31.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer31.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer32.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer32.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer33.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer33.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer34.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer34.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer35.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer35.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer36.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer36.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer37.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer37.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer38.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer38.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer39.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer39.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer40.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer40.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer41.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer41.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer42.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer42.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer43.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer43.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer44.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer44.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer45.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer45.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer46.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer46.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer47.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer47.norm2.num_batches_tracked", "clas_net.features.denseblock3.denselayer48.norm1.num_batches_tracked", "clas_net.features.denseblock3.denselayer48.norm2.num_batches_tracked", "clas_net.features.transition3.norm.num_batches_tracked", "clas_net.features.denseblock4.denselayer1.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer1.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer2.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer2.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer3.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer3.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer4.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer4.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer5.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer5.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer6.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer6.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer7.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer7.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer8.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer8.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer9.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer9.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer10.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer10.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer11.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer11.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer12.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer12.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer13.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer13.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer14.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer14.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer15.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer15.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer16.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer16.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer17.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer17.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer18.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer18.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer19.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer19.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer20.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer20.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer21.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer21.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer22.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer22.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer23.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer23.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer24.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer24.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer25.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer25.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer26.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer26.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer27.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer27.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer28.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer28.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer29.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer29.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer30.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer30.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer31.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer31.norm2.num_batches_tracked", "clas_net.features.denseblock4.denselayer32.norm1.num_batches_tracked", "clas_net.features.denseblock4.denselayer32.norm2.num_batches_tracked", "clas_net.features.norm5.num_batches_tracked".

What could the issue be?