ua01:

What would be the best practice here to load the model? Should I save it directly using torch.save, or should I save the state_dictionary.


I would recommend to save and load the state_dict and to recreate the model using a stored config, as the former approach might break in various ways e.g. if you change the folder structure etc.



 ua01:

If the second way is the best, I have to create the model from scratch using the original configs dictionary and then load the state_dict, how should can I store both of them together?


Yes, you would have to recreate the model. You can store the state_dict as well as other objects e.g. in a dict and use torch.save() on it as shown in the ImageNet example 1.