ess
ess copied to clipboard
how to load dict model as .pt file ?
Hello, I downloaded some files (DDD17 UDA , DSEC UDA as .pt file) from you. The files are in the form of a dictionary. How can I convert this dictionary into the original model so that I can get output from it?
here is my code and error : model= torch.load(r'C:\Users\ehnza\Downloads\DSEC_Semantic_UDA.pt', map_location=torch.device('cpu')) model('x.jpeg')
Error : TypeError: 'dict' object is not callable
I know why this is happening, but I don't know how to convert it to the original file