Giter Site home page Giter Site logo

Comments (8)

MaybeShewill-CV avatar MaybeShewill-CV commented on August 15, 2024

@padmareddy21 Generate tfrecords first:)

from crnn_tensorflow.

padmareddy21 avatar padmareddy21 commented on August 15, 2024

No I generated using python tools/write_tfrecords
--dataset_dir PATH/TO/SYNTH90K_DATASET_ROOT_DIR
--save_dir PATH/TO/TFRECORDS_DIR with this command

from crnn_tensorflow.

MaybeShewill-CV avatar MaybeShewill-CV commented on August 15, 2024

@padmareddy21 replace PATH/TO/SYNTH90K_DATASET_ROOT_DIR with your own path

from crnn_tensorflow.

padmareddy21 avatar padmareddy21 commented on August 15, 2024

yes I used my data set's path
python write_tfrecords.py --dataset_dir mnt/ramdisk/max/90kDICT32px --save_dir records_dir

from crnn_tensorflow.

MaybeShewill-CV avatar MaybeShewill-CV commented on August 15, 2024

python train_shadownet.py --dataset_dir tfrecords --char_dict_path data/char_dict/char_dict.json --ord_map_dict_path data/char_dict/ord_map.json
I0813 00:21:33.093167 20187 train_shadownet.py:569] Use single gpu to train the model
Traceback (most recent call last):
File "train_shadownet.py", line 575, in
need_decode=args.decode_outputs
File "train_shadownet.py", line 144, in train_shadownet
flags='train'
File "/home/avenir-dl/Desktop/ocr/CRNN_Tensorflow/tools/data_provider/shadownet_data_feed_pipline.py", line 240, in init
raise ValueError('{:s} not exist, please check again'.format(self._tfrecords_dir))
ValueError: tfrecords/tfrecords not exist, please check again

--dataset_dir tfrecords is the wrong path. It should be the folder dir where the tfrecords was placed.

from crnn_tensorflow.

padmareddy21 avatar padmareddy21 commented on August 15, 2024

tfrecords are generated using this command (python write_tfrecords.py --dataset_dir mnt/ramdisk/max/90kDICT32px --save_dir records_dir) and I am giving same records_dir path exactly

from crnn_tensorflow.

MaybeShewill-CV avatar MaybeShewill-CV commented on August 15, 2024

@padmareddy21 The error log was pretty clear. tfrecords folder was not found. Maybe you can figure it out by yourself:)

from crnn_tensorflow.

tankienleong avatar tankienleong commented on August 15, 2024

@padmareddy21 mkdir tfrecords inside records_dir and then move all the tfrecord files into tfrecords folder

from crnn_tensorflow.

Related Issues (20)

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.