I am new in Tensorflow and I am trying to build model which will be able to perform OCR on my images. I am reading the paper of google about the attention ocr.the project in github seems non-existent.I am searching for a long time on net. But no use. Please help or try to give some ideas how to achieve this.
https://github.com/tensorflow/models/tree/master/attention_ocr
The project moved into the research subfolder of tensorflow/models.
The new correct link is:
https://github.com/tensorflow/models/tree/master/research/attention_ocr
Related
I am new to RL and wanted to test some examples about it.
One of the examples is stock management problem and I wanted to run "rlpolicy_train.py" on google Colab.
The link for example:
https://github.com/t-wolfeadam/Alpyne/tree/main/examples/Stock%20Management%20Game
It seems that there is an error in Alpyne Library and I can't understand what is the meaning of this error and how I can fix it.
The screenshot of the error has been attached.
I would appreciate it if anyone can help.
I am not really a tensorflow expert. I have been using it with provided models and code, played around a bit and am trying to get better with it.
I got a hold of a model that I'd like to play around with in the form of a tensorflowjs model (?). It is in the form a model.json with some "shard1ofX" files. I also got some JS code to accompany it which I kind of understand, but I am not really a JS developer and also would like to use the model and code not on the net but in a standalone application.
The model gets loaded like that in the JS implementation:
tf.loadGraphModel(path_to_model_json)
Is it somehow possible to read said model in the Python tensorflow implementation to use it? Googling around I found a ton of information about converting a model TO tensorflowjs format, but not the other way around.
Help would be greatly appreciated!
The tfjs-converter project supports going from Javascript to Python. I haven't tested this but it looks like these flags should get the job done.
tfjs_converter --input_format tfjs_layers_model \
--output_format keras_saved_model \
/tmp/tensorflowjs_model \
/tmp/keras_model
https://github.com/tensorflow/tfjs/blob/master/tfjs-converter/README.md#format-conversion-support-tables
I've recently begun using Tensorflow via Keras and Python 3.5 to analyze company data, and I am by no means an expert and only recently built my first "real-world" model.
With my experimental data I used Tensorboard to visualiza how my neural network was working, and I would like to do the same with my real data. However, my company is extremely strict about company data leaving our servers - so my question is this:
Does tensorboard take the raw data used in the model and upload it off-site to generate its reports/visuals or does it only use processed data/results from my model?
I've done several google searches already, and I haven't found anything conclusive one way or the other.
If I'm not asking this question correctly, please let me know - I'm new to all of this.
Thank you.
No, Tensorboard does not upload the data to "the cloud" or anywhere outside the computer where it is running, it just interprets data produced by the model.
Hi im new in python programming,
currently im in a project which need to find distance between 2 points (lat&lon) offline.
I know google maps provide this service but i cant use it since it has a limit for free account.
So, im googling around and find pyroutelib2 can do this for me with using openstreetmap map data.
pyroutelib link
and now im kinda stuck. im running on Windows 8 x64. my python is 2.7.
i have downloaded pyroutelib from this link
http://svn.openstreetmap.org/applications/routing/pyroutelib2/
and have my country map (osm.bz2 file) ready. the problem is, while i type the command
loadosm.py f:\asia.osm car
loadosm.py f:\asia.osm.bz2 car
loadosm.py f:\asia.osm.pbf car
(the osm file is in different directory)
in my console, the osm file wont be loaded and returning this message:
Loaded 0 nodes
Loaded 0 cycle routes
Searching for node: found None
anybody please help me. Thanks
I get the same output. Either pyroutelib2 or its documentation is broken.
I suggest to just use another routing library/tool. See the OSM wiki about routing as well as the list of online routers and offline routers. There are lots of interesting solutions available.
Check out osmapi, it's what I've used to get OSM files and import them into pyroutelib2. I don't know if that will solve your problems, but I've had luck going that route.
I am trying to rename the images in my massive pictures folder by searching google images by each image and naming them the result next to "Best guess for this image: ". I understand that google does have a python API but I am unsure if it can be used in this way, or if that is a reasonable project for someone of my limited experience.
https://developers.google.com/appengine/docs/python/images/usingimages#Uploading seems to be helpful but I'm not sure I understand what I need to be doing conceptually.
Another option is to use the drag-and-drop feature but I have not looked into that as much.
Thanks in advance for any guidance.
As far as I know, Google still doesn't offer a public API for its reverse image search service (i.e. you send a picture and get textual search results).
The most popular alternative that I know is TinEye ( http://www.tineye.com/ ). Here's a link to their RESTful API: http://services.tineye.com/TinEyeAPI