-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
test modue now working on mac #98
Comments
Hey, When I try to run the very first example I get this error:
|
@jrenouard |
I followed your steps but still getting the same eroor |
I'm getting the same error On Windows 10 it works just fine. I tried |
But in Mac it is still showing error |
hi @albert-92 @abhisingh007224 , I really cannot reproduce this error. Maybe it is related to the conda environment? Would you please run the following script with the same python interpreter and paste the output here? import sys
print(sys.version)
import pkg_resources
pkg_resources.get_distribution("autokeras").version
import autokeras
print(autokeras.__dict__) |
I had this problem and found out that my file was named autokeras.py, so when I imported the lib, I was actually importing my own file. Changing the file name solved the problem. |
from keras.datasets import mnist
from autokeras.image_supervised import ImageClassifier
(x_train, y_train), (x_test, y_test) = mnist.load_data()
x_train = x_train.reshape(x_train.shape + (1,))
x_test = x_test.reshape(x_test.shape + (1,))
clf = ImageClassifier(verbose=True)
clf.fit(x_train, y_train, time_limit=12 * 60 * 60)
clf.final_fit(x_train, y_train, x_test, y_test, retrain=True)
y = clf.evaluate(x_test, y_test)
print(y)
Bug Description
Reproducing Steps
Steps to reproduce the behavior:
Expected Behavior
Setup Details
Include the details about the versions of:
Additional context
The text was updated successfully, but these errors were encountered: