iamhankai / cpp-pytorch

A bite of cpp api in PyTorch-1.0
165 stars 40 forks source link

'function' object has no attribute 'save' #10

Closed mmchen88 closed 5 years ago

mmchen88 commented 5 years ago

An error occours at: traced_script_module.save("model.pt") It seems that traced_script_module has no attribute 'save'.

mmchen88 commented 5 years ago

Sorry, I know, the version of pytorch must be higher than 1.0