Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to download pretrained model #12

Open
nikita0511 opened this issue Apr 30, 2019 · 22 comments
Open

Unable to download pretrained model #12

nikita0511 opened this issue Apr 30, 2019 · 22 comments

Comments

@nikita0511
Copy link

nikita0511 commented Apr 30, 2019

Hi,

I live in India and am trying to download the checkpoints from BaiduYunLink (https://pan.baidu.com/s/1BgkVHFaT91AptdwcTeJ2gg). However, I am unable to create an account and therefore cannot download. Can the model be provided to me at some different location?

Thanks.

@Pay20Y
Copy link
Owner

Pay20Y commented May 1, 2019

Emmm, I can't use Google Cloud. I have sent the model to your email nikita13068@iiitd.ac.in

@nikita0511
Copy link
Author

Thanks for providing the model. :)

When I try to run the eval.py script to test this model over my data, I encounter the below error. Has there been a change in graph definition in the eval.py script or the trained model?

_Caused by op u'save/Assign_1', defined at:
File "eval.py", line 398, in
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 125, in run
_sys.exit(main(argv))
File "eval.py", line 286, in main
saver = tf.train.Saver(variable_averages.variables_to_restore())
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 832, in init
self.build()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 844, in build
self._build(self._filename, build_save=True, build_restore=True)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 881, in _build
build_save=build_save, build_restore=build_restore)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 513, in _build_internal
restore_sequentially, reshape)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 354, in _AddRestoreOps
assign_ops.append(saveable.restore(saveable_tensors, shapes))
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saving/saveable_object_util.py", line 73, in restore
self.op.get_shape().is_fully_defined())
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/state_ops.py", line 223, in assign
validate_shape=validate_shape)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_state_ops.py", line 64, in assign
use_locking=use_locking, name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 788, in _apply_op_helper
op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 3300, in create_op
op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1801, in init
self._traceback = tf_stack.extract_stack()

InvalidArgumentError (see above for traceback): Restoring from checkpoint failed. This is most likely due to a mismatch between the current graph and the graph from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint. Original error:

Assign requires shapes of both tensors to match. lhs shape= [99] rhs shape= [95]
[[node save/Assign_1 (defined at eval.py:286) ]]_

@Pay20Y
Copy link
Owner

Pay20Y commented May 2, 2019

Sorry, it is caused by the dictionary defined in config.py mismatch. I have updated the config.py, you can try again.
However, the new one does not include all characters displayed in ICDAR15, whenever you train it you will encounter an error where you can't find a character. It won't affect training, you can ignore it.
Or you can update config.py for more characters and train yourself.

@tylertroy
Copy link

Hi Pay20Y, is it possible for you to share the model with me too? Thanks for sharing your code also!

@sauradip
Copy link

sauradip commented May 3, 2019

Hey @nikita0511 @Pay20Y can you guys send me model to me too ? Email : sauradipnag95@gmail.com

@Pay20Y
Copy link
Owner

Pay20Y commented May 5, 2019

I have sent the model @tylertroy @sauradip

@harish2704
Copy link

Hi All, I was also trying to download this model from baidu. Can anyone please share the file with me too ? My email: harish2704@gmail.com

@Pay20Y : If I get this preshared model, Can I share it with public ? For eg: I can upload it to github/google drive/dropbox or any service and can provide a public link.

Thanks to @Pay20Y for sharing this project

@Pay20Y
Copy link
Owner

Pay20Y commented May 6, 2019

I have sent the pretrained model to you @harish2704
And it's no problem sharing this model.

@harish2704
Copy link

@Pay20Y : Thanks for your quick response. But, unfortunately, I didn't got the attachment.
I think you forgot to attach it.

@sauradip
Copy link

sauradip commented May 6, 2019 via email

@harish2704
Copy link

harish2704 commented May 6, 2019

Hi All,
I have uploaded the pre-trained to github. Here is the link https://github.com/harish2704/FOTS_TF-data/blob/master/FOTS_checkpoint.zip

Thanks to @Pay20Y for sending this file

Update: Sorry to say that, I had to delete this repository because , my Git LFS was disabled by github because of this repository ( I think many people downloaded this file and this I exceeded 150% of my allowed bandwidth limit ).

Please note that, Even if I didn't delete that repo, no one can access that file because, github had disabled it

@Pay20Y
Copy link
Owner

Pay20Y commented May 7, 2019

Yes, mee too , i didnt get the attachment Sauradip Nag Project Associate , Visualization and Perception Lab, IIT Madras 7003394465 | sauradipnag95@gmail.com Skype: sauradip2 <#SignatureSanitizer_SafeHtmlFilter_> Chennai - 600036 , TamilNadu , India http://www.facebook.com/sauradip.nag http://www.linkedin.com/in/sauradip-nag-1b6059112/ http://twitter.com/dude_saura http://github.com/sauradip http://sauradipnag.wordpress.com/ Create your own email signature https://www.wisestamp.com/signature-in-email?utm_source=promotion&utm_medium=signature&utm_campaign=create_your_own

On Mon, May 6, 2019 at 9:00 PM Harish K @.***> wrote: @Pay20Y https://github.com/Pay20Y : Thanks for your quick response. But, unfortunately, I didn't got the attachment. I think you forgot to attach it. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#12 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AFQ7NJQLKM7AXYPFZC7YLH3PUBFKFANCNFSM4HJPBLQA .

Emmm sorry for that, maybe you can download it from the link shared by harish

@Pay20Y
Copy link
Owner

Pay20Y commented May 7, 2019

Hi All,
I have uploaded the pre-trained to github. Here is the link https://github.com/harish2704/FOTS_TF-data/blob/master/FOTS_checkpoint.zip

Thanks to @Pay20Y for sending this file

Thanks for uploading :)

@zobeirraisi
Copy link

Hello, I could not Download the pre-trained model, could you please send me a link to me
My email:
zobeir.raisi@gmail.com

@harish2704
Copy link

@Pay20Y , @zobeirraisi : Please see my updated comment too.

@Pay20Y : When you send that file to @zobeirraisi , please CC me too. Right now, I don't have any copy of this file. If I get it, I will try to upload it to some other places.

@Pay20Y
Copy link
Owner

Pay20Y commented Sep 4, 2019

Hello, I could not Download the pre-trained model, could you please send me a link to me
My email:
zobeir.raisi@gmail.com

Which one do you want? for master branch or dev branch

@zobeirraisi
Copy link

zobeirraisi commented Sep 4, 2019 via email

@renchenliang
Copy link

Hello, I could not Download the baiduyun pre-trained model, could you please send me a link to me
My email:
2065319853@qq.com

@gaofssvm
Copy link

Hi Pay20Y, is it possible for you to share the model with me too? Thanks for sharing your code also!

@IuliiaSaveleva
Copy link

IuliiaSaveleva commented Jan 20, 2020

Hello, could you, please, share the pretrained model with me? For some reason, the model I downloaded from baidu net disk is corrupted.
Waiting for you reply and thank you in advance.
My email: j.o.savelyeva@gmail.com

@daniiki
Copy link

daniiki commented Jul 30, 2020

Hi, can please anybody share the pretrained model with me?
My Email: daniikilian@googlemail.com

@Pay20Y
Copy link
Owner

Pay20Y commented Aug 18, 2020

Hi all, please check the branch of dev, the pretrained model can be downloaded from here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants