Skip to content
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

TypeError: 'float' object cannot be interpreted as an integer #64

Closed
lichunhong2010 opened this issue Aug 9, 2018 · 2 comments
Closed

Comments

@lichunhong2010
Copy link

Traceback (most recent call last):
File "C:/Users/lichunhong/Desktop/python_code/autokeras_try/1.py", line 10, in
clf.fit(x_train, y_train, time_limit=12 * 60 * 60)
File "C:\ProgramData\Anaconda3\lib\site-packages\autokeras\classifier.py", line 225, in fit
run_searcher_once(train_data, test_data, self.path)
File "C:\ProgramData\Anaconda3\lib\site-packages\autokeras\classifier.py", line 40, in run_searcher_once
searcher.search(train_data, test_data)
File "C:\ProgramData\Anaconda3\lib\site-packages\autokeras\search.py", line 190, in search
accuracy, loss, graph = train_results.get()[0]
File "C:\ProgramData\Anaconda3\lib\multiprocessing\pool.py", line 644, in get
raise self._value

TypeError: 'float' object cannot be interpreted as an integer

@igouvea
Copy link

igouvea commented Aug 10, 2018

Having the same problem here. Couldn't install with 'pip install autokeras', so I installed with --no-dependencies. Then installed the dependencies manually (wrong versions). Could be that. But I am having the same problem on windows. Under Linux Subsystem it worked perfectly.

@haifeng-jin
Copy link
Collaborator

This issue has been fixed in the new release.

Thank you for the contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants