Comments (7)
Hi. I'm not familiar with RStudio, but its installation instruction do seem to indicate you can point at a custom version of tensorflow when installing it: https://tensorflow.rstudio.com/installation/#alternate-versions
I suspect something like this might work (you'd want to update the URL to use a newer version when it's released):
install_tensorflow(version = "https://files.pythonhosted.org/packages/b3/cb/1eecf7636166147f7134fca5bdb563e9dc9ce0305f4310e7dd00a72f0204/tensorflow_directml-1.15.4.dev201216-cp36-cp36m-win_amd64.whl")
from tensorflow-directml.
Thank you for this clean solution Sir.
Unfortunately when I try to install it on RGui I receive the following :
ERROR: tensorflow_directml-1.15.5.dev210429-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform.
I think the message is clear.
Best Regards
from tensorflow-directml.
That likely means the version of python bundled with RStudio isn't compatible with the 3.6 version of tensorflow-directml. Do you know what version of python comes with RStudio?
from tensorflow-directml.
That's a great hint, thank you!
Is running with python 3.9, I'm gonna check how to change it.
Congratulations
Best Regards
from tensorflow-directml.
Already changed it, installed tensorflow-directml in same conda environment by pip , by installing it on R Gui same problem persists.
from tensorflow-directml.
But there's a way
Python packages are typically installed from one of two package repositories:
PyPI; or
Conda
Any Python package you install from PyPI or Conda can be used from R with reticulate.
from tensorflow-directml.
Problem persists :
library(reticulate)
py_install("tensorflow-directml")
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.PackagesNotFoundError: The following packages are not available from current channels:
- tensorflow-directml
Current channels:
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate tohttps://anaconda.org
and use the search bar at the top of the page.
Error: one or more Python packages failed to install [error code 1]
from tensorflow-directml.
Related Issues (20)
- Not able to use my own callbacks HOT 3
- Tensorflow-directml is not making any difference in processing times in GPU vs CPU HOT 1
- AMD APU support? HOT 2
- Cannot assign a device for operation embedding/embeddings/Initializer/random_uniform/ HOT 5
- directml on custom tensoflow build ? HOT 1
- Windows Camera post process(DMFT) with DirectML(Tensorflow) HOT 10
- It's not working on Intel Graphics 5500 HOT 1
- Use c api to load pb models HOT 1
- how to set the default device using cAPI?
- session run crashed when runing on nvidia gpu HOT 1
- Could not identify NUMA node of platform GPU ID 0, defaulting to 0. Your kernel may not have been built with NUMA support. HOT 2
- unbox expects Dml at::Tensor as inputs HOT 1
- Is it not supports the amd gpus without rocm?
- Does directml support multi-GPU training
- TensorFlow-DirectML Does Not Exist HOT 7
- AttributeError: module 'tensorflow' has no attribute 'float32' HOT 1
- CPU instructions notification after installing
- python newer versions support
- tensorflow GPU on WSL2 produces a segmentationfault
- RC astro tool operations not supported in DirectML HOT 1
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 tensorflow-directml.