changebo / hccg-cyclegan Goto Github PK
View Code? Open in Web Editor NEWHandwritten Chinese Characters Generation
Handwritten Chinese Characters Generation
Dear Author :
Does this version support Windows?
May I ask some guideline for windows?
torch/install/share/lua/5.1/threads/threads.lua:183: [thread 1 callback] ...ai/tk/HCCG-CycleGAN/DenseCycleGAN/data/donkey_folder.lua:28: Did not find directory: /home/oitai/tk/HCCG-CycleGAN/DenseCycleGAN/datasets/1252-c-0.1-0.1/testA
stack traceback:
[C]: in function 'error'
...ai/tk/HCCG-CycleGAN/DenseCycleGAN/data/donkey_folder.lua:28: in main chunk
[C]: in function 'dofile'
/home/oitai/tk/HCCG-CycleGAN/DenseCycleGAN/data/data.lua:39: in function </home/oitai/tk/HCCG-CycleGAN/DenseCycleGAN/data/data.lua:29>
[C]: in function 'xpcall'
/home/oitai/torch/install/share/lua/5.1/threads/threads.lua:234: in function 'callback'
/home/oitai/torch/install/share/lua/5.1/threads/queue.lua:65: in function </home/oitai/torch/install/share/lua/5.1/threads/queue.lua:41>
[C]: in function 'pcall'
/home/oitai/torch/install/share/lua/5.1/threads/queue.lua:40: in function 'dojob'
[string " local Queue = require 'threads.queue'..."]:13: in main chunk
stack traceback:
[C]: in function 'error'
/home/oitai/torch/install/share/lua/5.1/threads/threads.lua:183: in function 'dojob'
/home/oitai/torch/install/share/lua/5.1/threads/threads.lua:264: in function 'synchronize'
/home/oitai/torch/install/share/lua/5.1/threads/threads.lua:142: in function 'specific'
/home/oitai/torch/install/share/lua/5.1/threads/threads.lua:125: in function 'Threads'
/home/oitai/tk/HCCG-CycleGAN/DenseCycleGAN/data/data.lua:27: in function 'new'
.../oitai/tk/HCCG-CycleGAN/DenseCycleGAN/data/data_util.lua:17: in function 'load_dataset'
./data/unaligned_data_loader.lua:24: in function 'Initialize'
test.lua:47: in main chunk
[C]: in function 'dofile'
...itai/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50
Any suggestions please?
HCCG-CycleGAN$ python preprocess/preprocess_hw.py fonts/1252-c.gnt fonts/simhei.ttf 0.1 0.1
File "preprocess/preprocess_hw.py", line 97
bitmap = bitmaplist[arr[x]]
^
TabError: inconsistent use of tabs and spaces in indentation
Any suggestions please?
I am confused about the format,'.gntx' in CASIA-AHCDB. How to convert it to a png file, is it similar with 'gnt' format?
Hi,your code is very interesting , but I don't know about Lua , Can you implement this code with pytorch?? Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.