Traceback (most recent call last):


 "test.py", line 113, in <module>

torch.save(model,savePath+"DeepFM.h5")


 "/home/zhangkai/.conda/envs/pytorchDeepCTR/lib/python3.7/site-packages/torch/serialization.py", line 224, in save

return _with_file_like(f, "wb", lambda f: _save(obj, f, pickle_module, pickle_protocol))


 "/home/zhangkai/.conda/envs/pytorchDeepCTR/lib/python3.7/site-packages/torch/serialization.py", line 149, in _with_file_like

return body(f)


 "/home/zhangkai/.conda/envs/pytorchDeepCTR/lib/python3.7/site-packages/torch/serialization.py", line 224, in <lambda>

return _with_file_like(f, "wb", lambda f: _save(obj, f, pickle_module, pickle_protocol))


 "/home/zhangkai/.conda/envs/pytorchDeepCTR/lib/python3.7/site-packages/torch/serialization.py", line 296, in _save

pickler.dump(obj)
AttributeError: Can't pickle local object 'BaseModel._get_metrics.<locals>.<lambda>'

Traceback (most recent call last):


 "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner

self.run()


 "/usr/lib/python3.8/threading.py", line 870, in run

self._target(*self._args, **self._kwargs)


 "/home/simo/env/lib/python3.8/site-packages/andriller/utils.py", line 40, in command

return method(self, *args, **kwargs)


 "/home/simo/env/lib/python3.8/site-packages/andriller/windows.py", line 534, in RunUsbExtraction

drill.DataAcquisition(


 "/home/simo/env/lib/python3.8/site-packages/andriller/driller.py", line 307, in DataAcquisition

self.download_file(file_path)


 "/home/simo/env/lib/python3.8/site-packages/andriller/driller.py", line 202, in download_file

remote_size = self.adb.get_size(file_path, su=self.su)


 "/home/simo/env/lib/python3.8/site-packages/andriller/adb_conn.py", line 172, in get_size

if not size.isdigit():
AttributeError: 'NoneType' object has no attribute 'isdigit'
