Comments (5)
这个看报错信息是tf的版本问题,你看看这个提示:The name tf.logging.INFO is deprecated. Please use tf.compat.v1.logging.INFO instead.?
from mathai.
他后续报了AttributeError: module 'parser' has no attribute 'characters_to_nodes'错误,我把全部parser换成parser1的时候能运行,不过只有加法和减法能够正确识别和计算,其他的次方什么的就只识别出一个数字了,输出的latex有问题,像:
是半开源的问题呢还是哪里的问题?
from mathai.
半开源的问题
from mathai.
你好 我想问一下
WARNING:tensorflow:From E:\Pythoncode\math\venv\lib\site-packages\tensorflow\python\framework\op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
WARNING:tensorflow:From E:\Pythoncode\math\venv\lib\site-packages\tensorflow_estimator\python\estimator\inputs\queues\feeding_queue_runner.py:62: QueueRunner.init (from tensorflow.python.training.queue_runner_impl) is deprecated and will be removed in a future version.
Instructions for updating:
To construct input pipelines, use the tf.data
module.
WARNING:tensorflow:From E:\Pythoncode\math\venv\lib\site-packages\tensorflow_estimator\python\estimator\inputs\queues\feeding_functions.py:500: add_queue_runner (from tensorflow.python.training.queue_runner_impl) is deprecated and will be removed in a future version.
Instructions for updating:
To construct input pipelines, use the tf.data
module.
INFO:tensorflow:Calling model_fn.
WARNING:tensorflow:From E:\Pythoncode\math\tools\cnn_model.py:27: conv2d (from tensorflow.python.layers.convolutional) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.conv2d instead.
WARNING:tensorflow:From E:\Pythoncode\math\tools\cnn_model.py:33: max_pooling2d (from tensorflow.python.layers.pooling) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.max_pooling2d instead.
WARNING:tensorflow:From E:\Pythoncode\math\tools\cnn_model.py:62: dense (from tensorflow.python.layers.core) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.dense instead.
WARNING:tensorflow:From E:\Pythoncode\math\tools\cnn_model.py:66: dropout (from tensorflow.python.layers.core) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.dropout instead.
INFO:tensorflow:Done calling model_fn.
INFO:tensorflow:Graph was finalized.
2019-11-01 16:00:52.952759: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
WARNING:tensorflow:From E:\Pythoncode\math\venv\lib\site-packages\tensorflow\python\training\saver.py:1266: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to check for files with this prefix.
INFO:tensorflow:Restoring parameters from ./my_cnn_model_config5\model.ckpt-16000
INFO:tensorflow:Running local_init_op.
INFO:tensorflow:Done running local_init_op.
WARNING:tensorflow:From E:\Pythoncode\math\venv\lib\site-packages\tensorflow\python\training\monitored_session.py:809: start_queue_runners (from tensorflow.python.training.queue_runner_impl) is deprecated and will be removed in a future version.
Instructions for updating:
To construct input pipelines, use the tf.data
module.
Traceback (most recent call last):
File "E:/Pythoncode/math/main.py", line 68, in
node_list=parser.characters_to_nodes(sorted_characters)
AttributeError: module 'parser' has no attribute 'characters_to_nodes'
最后一行这个AttributeError是怎么解决的呢
from mathai.
你好 我想问一下
WARNING:tensorflow:From E:\Pythoncode\math\venv\lib\site-packages\tensorflow\python\framework\op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
WARNING:tensorflow:From E:\Pythoncode\math\venv\lib\site-packages\tensorflow_estimator\python\estimator\inputs\queues\feeding_queue_runner.py:62: QueueRunner.init (from tensorflow.python.training.queue_runner_impl) is deprecated and will be removed in a future version.
Instructions for updating:
To construct input pipelines, use thetf.data
module.
WARNING:tensorflow:From E:\Pythoncode\math\venv\lib\site-packages\tensorflow_estimator\python\estimator\inputs\queues\feeding_functions.py:500: add_queue_runner (from tensorflow.python.training.queue_runner_impl) is deprecated and will be removed in a future version.
Instructions for updating:
To construct input pipelines, use thetf.data
module.
INFO:tensorflow:Calling model_fn.
WARNING:tensorflow:From E:\Pythoncode\math\tools\cnn_model.py:27: conv2d (from tensorflow.python.layers.convolutional) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.conv2d instead.
WARNING:tensorflow:From E:\Pythoncode\math\tools\cnn_model.py:33: max_pooling2d (from tensorflow.python.layers.pooling) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.max_pooling2d instead.
WARNING:tensorflow:From E:\Pythoncode\math\tools\cnn_model.py:62: dense (from tensorflow.python.layers.core) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.dense instead.
WARNING:tensorflow:From E:\Pythoncode\math\tools\cnn_model.py:66: dropout (from tensorflow.python.layers.core) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.dropout instead.
INFO:tensorflow:Done calling model_fn.
INFO:tensorflow:Graph was finalized.
2019-11-01 16:00:52.952759: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
WARNING:tensorflow:From E:\Pythoncode\math\venv\lib\site-packages\tensorflow\python\training\saver.py:1266: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to check for files with this prefix.
INFO:tensorflow:Restoring parameters from ./my_cnn_model_config5\model.ckpt-16000
INFO:tensorflow:Running local_init_op.
INFO:tensorflow:Done running local_init_op.
WARNING:tensorflow:From E:\Pythoncode\math\venv\lib\site-packages\tensorflow\python\training\monitored_session.py:809: start_queue_runners (from tensorflow.python.training.queue_runner_impl) is deprecated and will be removed in a future version.
Instructions for updating:
To construct input pipelines, use thetf.data
module.
Traceback (most recent call last):
File "E:/Pythoncode/math/main.py", line 68, in
node_list=parser.characters_to_nodes(sorted_characters)
AttributeError: module 'parser' has no attribute 'characters_to_nodes'
最后一行这个AttributeError是怎么解决的呢
from mathai.
Related Issues (20)
- 为什么会找不到这个模块的属性,明明已经引入? HOT 4
- 杠一下。 HOT 3
- 问题 HOT 2
- test.py 运行,在执行 img_preprocess.py 中报错 HOT 1
- 请问未开源的部分有推荐的论文吗 HOT 3
- 有一个疑问想请教 HOT 3
- 小白请教一个问题,大佬勿喷... HOT 3
- while clicking upload button getting the below error HOT 4
- 无法运行简单除法测试
- 无法打开dataset1中的jpg文件 HOT 2
- 多个算术题识别 HOT 1
- 自己拍摄的照片无法计算? HOT 8
- TypeError: data must be either a numpy array or pandas DataFrame if pandas is installed; got dict HOT 2
- Math ai
- 分数的辨别或运算
- wanna contact with the author HOT 2
- 问题 HOT 1
- module 'parser' has no attribute 'characters_to_nodes HOT 1
- Mathpix HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mathai.