Are you using a local machine or working off a server?
I am a bit confused as to what you’re trying to do, are you trying to upload (unique) trained weights into a resnet34 architecture? the way you are calling it there – the cnn_learner call will be instantiated with the trained weights for imagenet.
@immarried’s suggestion should work. You could instantiate it with normal imagenet weights like you are trying and then call learn.load(x) where x would be the file containing the weights you want.
This also seems like a promising route to try: Loading pretrained weights that are not from ImageNet