exe1023 / DialEvalMetrics

60 stars 11 forks source link

regr.pkl file not available #3

Closed zperfet closed 3 years ago

zperfet commented 3 years ago

when i run "python usr_fed/usr/usr_server.py", error arrears: Traceback (most recent call last): File "usr_server.py", line 1, in import usr File "/home/zper/DialEvalMetrics/usr_fed/usr/usr.py", line 6, in import regression File "/home/zper/DialEvalMetrics/usr_fed/usr/regression.py", line 6, in with open('regr.pkl','rb')as f: FileNotFoundError: [Errno 2] No such file or directory: 'regr.pkl'

after i wget https://github.com/Shikib/usr/blob/master/examples/regr.pkl from original usr model github, error also appears: pickle invalid load key, '\x0a'. i wonder if you can provide your pkl file, thanks.

exe1023 commented 3 years ago

Hi, I have pushed the pkl file. Sorry for the inconvenience.