Code Monkey home page Code Monkey logo

synthdata-zh's People

Contributors

youngmiao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

synthdata-zh's Issues

How to run the file to create dataset

想请教下,(py3.6.5环境)为什么我下载好这个完整的代码后,在gen_cn_txt.py文件中,设置好相应的参数,如bgs, fonts等,跑的时候,发现会报错呢??
出错代码在:CHARS = line.strip('\n').decode('utf-8'), 提示字符串没有decode方法。。---其中我还设置Wfile = open(WORD_TXT,'r')的encoding= 'utf-8'参数,否则会报说明gbk代码的相关错误。。
我又将这个CHARS代码更改成CHARS = eval(line.strip('\n')).decode('utf-8'), 结果又报错:NameError: name '怀' is not defined。。
求指点。。

1
2

您好,请教个问题。我用您这个脚本生成0-9数据集训练crnn

生成数据集后,训练发现 , accuray: 0.097222 一直接近0.看到preds的内容,都是同一个值
您知道是什么原因导致的?
4------------------------- => 4 , gt: 3
4------------------------- => 4 , gt: 5
4------------------------- => 4 , gt: 1
4------------------------- => 4 , gt: 9
4------------------------- => 4 , gt: 0
4------------------------- => 4 , gt: 3
4------------------------- => 4 , gt: 1
4------------------------- => 4 , gt: 6
4------------------------- => 4 , gt: 8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.