Код: Выделить всё
from umap import ParametricUMAP
p_embedder = ParametricUMAP()
Код: Выделить всё
C:\Users\ldsp_\miniconda3\envs\tf-gpu\lib\site-packages\umap\__init__.py:16: UserWarning: The umap.parametric_umap package requires Tensorflow > 2.0 to be installed.
You can install Tensorflow at https://www.tensorflow.org/install
or you can install the CPU version of Tensorflow using
pip install umap-learn[parametric_umap]
warn(
Traceback (most recent call last):
Cell In[7], line 1
p_embedder = ParametricUMAP()
File ~\miniconda3\envs\tf-gpu\lib\site-packages\umap\__init__.py:26 in __init__
raise ImportError(
ImportError: umap.parametric_umap requires Tensorflow >= 2.0
Код: Выделить всё
Package Version
----------------------------- -------------------
tensorboard 2.8.0
tensorboard-data-server 0.6.1
tensorboard-plugin-wit 1.8.1
tensorflow 2.8.0
tensorflow-estimator 2.5.0
tensorflow-io-gcs-filesystem 0.31.0
Note: you may need to restart the kernel to use updated packages.
Подробнее здесь: https://stackoverflow.com/questions/792 ... etric-umap