RU Proverbs generator
Project description
RU Proverbs AI module
This module provides API that allows to generate Russian Proverbs with the power of AI.
Requirements
For Windows builds:
In the current version we use Python 3.7.6, Tensorflow 2.1 and CUDA 10.1.
-
Python 3.7.x. x64 (tested with Python 3.7.6x64).
-
Properly installed Tensorflow inside the virtual env:
2.1 Install virtual env:
python -m venv .venv
.2.2 Upgrade pip:
python -m pip install --upgrade pip
.2.3 Upgrade setuptools:
pip install --upgrade setuptools
.2.3 Install Tensorflow:
pip install --upgrade tensorflow
2.4 Optionally install and configure CUDA support.
-
Install other requirements:
pip install --upgrade -r requirements.txt
Configure CUDA
-
Download CUDA Toolkit and unpack into e.g.
D:\DevTools\cuda\v10.1
. -
Download matching cuDNN version (e.g. v7.6.5 for CUDA 10.1) and unpack under the versioned CUDA folder, e.g.
D:\DevTools\cuda\v10.1\cudnn
. -
Add CUDA paths to environment variables and
PATH
:Create
CUDA_HOME
andCUDA_PATHS
env variables with the following values:SET CUDA_HOME=D:\DevTools\cuda\v10.1 SET CUDA_PATHS=%CUDA_HOME%\bin;%CUDA_HOME%\include;%CUDA_HOME%\extras;%CUDA_HOME%\libnvvp;%CUDA_HOME%\cudnn\bin;
Add
CUDA_PATHS
toPATH
:SET PATH=%CUDA_PATHS%;%PATH%
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ru_proverbs-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43b00edb32f31affff76c019aa1a7237ef9a582279ad13e4602f89c794b7a79a |
|
MD5 | 52039ffe32c30eef900308e97bd7100f |
|
BLAKE2b-256 | 4ae4e943fbae7ce856b29bbe82279072a3e94e20913ef2dca5de6c0c7bbaa2b6 |