Comments (7)
Hi @reActionHank , thanks for your feedback.
I am trying to reproduce your issue, so far, I am guessing you are using Windows.
So, in my Windows 10 VM I am not being able to even install keras.
Have you tried starting an R session and doing
remotes::install_github("rstudio/keras")
library("keras")
install_keras()
Is this working for you?
thanks
from autokeras.
from autokeras.
@reActionHank I am not being able to reproduce your issue since I am not a Windows user, and my VM needs a lot of libraries installation.
Your Error in install_keras(method = method, ...
error is not an autokeras code error. If you can reproduce it by creating a new empty env and try install_keras()
then you might post it as a keras issue, this would be helpful for both autokeras and keras R libraries :) .
However, as a workaround for autokeras, you could manually install the Python Auto-Keras library.
You could try activating your keras working environment (remember it must have Python 3.6) and do from prompt:
conda install pytorch torchvision -c pytorch
pip install autokeras
from autokeras.
@reActionHank I think what you noticed, might be an issue. Could you please reinstall autokeras remotes::install_github("jcrodriguez1989/autokeras")
and re try doing install_autokeras()
?
thanks!
In install_autokeras()
was using reticulate::py_config()
to get current Python version, and using this function initializes Python, and thus when keras::install_keras()
calls reticulate::py_available()
it returns TRUE
and then the error you noted
> reticulate::py_available()
[1] FALSE
> reticulate::py_config()$version
[1] "3.6"
> reticulate::py_available()
[1] TRUE
from autokeras.
from autokeras.
thanks!
So, the bug is over. Now it is working at it should, and it is saying that the conda env is going to use Python 3.7, which is not supported by autokeras. And there it appears the new issue you are having.
I have been checking this, and Python 3.7 is being used because tensorflow R library uses this Python version if using default tensorflow version (1.3).
However, if you specify tensorflow 1.2. It will have other problems related to pytorch and etc.
To summarise, I would recommend you installing Python autokeras manually in your conda env.
from autokeras.
@jcrodriguez1989 , how do you install autokeras manually from source? I am not able to install it on MAC OS M1.
from autokeras.
Related Issues (10)
- ValueError: Unknown layer: IdentityLayer HOT 2
- Error in py_call_impl(callable, dots$args, dots$keywords) : AttributeError: 'TrackableWeightHandler' object has no attribute 'shape' HOT 6
- dropout rate value for best model HOT 1
- Unable to load Autokeras Package in R HOT 2
- Fix for source code HOT 2
- How to set CPU numbers to run?
- How to merge a CNN with RNN using Autokeras? It seems the Merge() does not support this. I tried merge_type flags as 'concatenate' or 'add' but non of them works. In particular I want to find an optimum model made of a ConvBlock() followed by a RNNBlock().
- Support MXNet Backend HOT 1
- install error HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autokeras.