-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'int' object has no attribute 'predict' #16
Comments
What's the final output when you run You should see something like
Then if you open the pickled model import joblib
model = joblib.load('log_reg_model.pkl')
print(model) You should see something like this
|
please advise. |
Hmm... it looks like the model is working. Do you get the same error when you run |
Actually I am getting this error now if i do tindetheus browse or tindetheus like. I tried to fix this too via this solution: charliewolf/pynder#193 but no avail.
|
How are you logging in? If you use sms you may need to resubmit a token. |
I am logging in through XAuthToken. It was working fine so far. Not sure.
Its a login issue right now no?
…On Sun, Aug 25, 2019 at 11:03 AM Charles Jekel ***@***.***> wrote:
How are you logging in? If you use sms you may need to resubmit a token.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#16?email_source=notifications&email_token=AM7NOQ4JCRYUIA5RW3X2753QGKNN5A5CNFSM4IPBS7V2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5CVICY#issuecomment-524637195>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AM7NOQZ5EVZP4IFOAVINZ3LQGKNN5ANCNFSM4IPBS7VQ>
.
|
XAuthToken expires after sometime (perhaps 24 hours). Try to grab a new XAuthToken. |
Traceback (most recent call last): File "c:\users\focus\anaconda3\envs\tensorflow\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "c:\users\focus\anaconda3\envs\tensorflow\lib\runpy.py", line 85, in run_code exec(code, run_globals) File "C:\Users\Focus\Anaconda3\envs\tensorflow\Scripts\tindetheus.exe_main.py", line 9, in File "c:\users\focus\anaconda3\envs\tensorflow\lib\site-packages\tindetheus\tindetheus.py", line 781, in command_line_run main(args, defaults['facebook_token'], defaults['XAuthToken']) File "c:\users\focus\anaconda3\envs\tensorflow\lib\site-packages\tindetheus\tindetheus.py", line 644, in main my_sess.like() File "c:\users\focus\anaconda3\envs\tensorflow\lib\site-packages\tindetheus\tindetheus.py", line 560, in like self.like_or_dislike_users(users) File "c:\users\focus\anaconda3\envs\tensorflow\lib\site-packages\tindetheus\tindetheus.py", line 489, in like_or_dislike_users yhat = self.model.predict(X) AttributeError: 'int' object has no attribute 'predict'
Hey @cjekel, I am not sure what to do here. All the other errors that came up so far, I have managed to debug. But stuck on this error. Any insights on how to solve this error? Thanks!
The text was updated successfully, but these errors were encountered: