Comments (4)
Hi @javid235 and @javid235
Here's the soloution: -
Step 1: Install Miniconda/Anaconda
Download Miniconda/Anaconda from the official website: Follow the installation instructions for your operating system.
Step 2: Create a New Environment with Python 3.6
Open a terminal or command prompt and run the following command to create a new environment named "handwriting-env" with Python 3.6:
conda create --name handwriting-env python=3.6
Step 3: Activate the New Environment
Activate the newly created environment. On Windows, use:
conda activate handwriting-env
Step 4: Install Dependencies
Now, navigate to your project directory and run your code:
cd path/to/your/project
Make sure you are in the activated environment, then install the required dependencies:
pip install –r requirements.txt
Step 5: Run the Code
python demo.py
Make sure you're using the correct paths in the commands above. Adjust them based on your actual project structure.
These steps create a Conda environment, activate it, install the necessary dependencies, and run your code in a version-controlled environment. If you encounter any issues or have further questions, feel free to ask!
from handwriting-synthesis.
same issue
from handwriting-synthesis.
I had the same issue. The code is specifically trying to use Tensorflow 1.6.0 which will only work on Pyhon3.6.
Here's what worked for me:
- install microconda (Python package/env manager)
- create a new env with python=3.6
- pip3 install the dependencies and make sure you pip3 install tensorflow=1.6.0 (other dependencies did not need specific version for me)
(I think you can also set up unique python3 envs using pypi envs but I've not tried)
from handwriting-synthesis.
It's because tensoflow.contrib does not exist anymore in tensorflow 2.0, and as bmccabe2 said, this code is written for tensorflow 1.6. Tensorflow 1.6 is not available anymore on python version > 3.6, this is why you need to use python 3.6. If you use a newer version, you'll install tensorflow >2.0, and then you'll get this error
from handwriting-synthesis.
Related Issues (20)
- Problem with setup - versions control HOT 2
- How to train it on other language's? HOT 3
- You can use my repo that is migrated to TensorFlow v2 instead of this one HOT 4
- Can i add russian language?
- Custom Data??? HOT 2
- Style 2 - Extra Loops
- Sometimes unexpected results with this string
- Mail Merge?
- creating your own style? HOT 13
- Is there a variable that can be adjusted for legibility? HOT 1
- Torch version or Tensorflow 2.x HOT 1
- tensor flow 1.x isn't available through pip HOT 4
- Multiple Issues within the code
- Training on own dataset
- Tutorial video as help HOT 1
- Creation of Styles HOT 2
- Quality of output SVG file HOT 5
- Can some help me with the Installation Process HOT 1
- Baseline Jitter
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 handwriting-synthesis.