Unanswered
I Have Code That Does Torch.Load(Path) And Deserializes A Model.
I Am Performing This In Package A.B.C, And The Model’S Module Is Available In In A.B.C.Model
Unfortunately, The Model Was Serialized With A Different Module Structure - It Was Originally Pla
python 3.8
I’ve worked around the issue by doing:sys.modules['model'] = local_model_package
171 Views
0
Answers
2 years ago
one year ago