test modue now working on mac
See original GitHub issuefrom 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:
- Step 1: …
- Step 2: …
Expected Behavior
Setup Details
Include the details about the versions of:
- OS type and version: mac high sierra 10.13.6(17G65)
- Python: 3.6(anaconda)
- autokeras:
- scikit-learn: 0.19.1
- numpy: 1.14.5
- keras:2.2.2
- scipy:1.1.0
- tensorflow: 1.8.0
- pytorch: not installed
Additional context
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
"No such module" when using @testable in Xcode Unit tests
After spending couple of days on this issues finally I make it to work with my project. Problem was in Bridging Header -...
Read more >Cannot enable Unit testing | Apple Developer Forums
I have been trying for a couple of days now to get started on building unitests for my Swift 3 IOS project in...
Read more >How to Reset Your Mac's Bluetooth Module to Fix ...
Most problems can be fixed by unpairing and repairing the Bluetooth device, changing its batteries, rebooting your Mac, or performing an SMC ...
Read more >pytest fails module not found, even tho tests are discovered ...
try to run tests, select pytest as test runner, use default setup.cfg as only setting; pick any test and run it, but it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
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? Thank you for your help!