Comments (5)
I also encountered this problem, how do you solve it?
from faster-rcnn-tensorflow-python3.
Check for the directory of your testing image.
from faster-rcnn-tensorflow-python3.
我的路径名中有中文 导致这个问题
im_file = os.path.join(cfg.FLAGS2["data_dir"], 'demo', image_name) print(im_file) print(type(im_file)) im = cv2.imread(im_file) print(im) print(type(im))
函数demo下加入如下语句 正常情况会输出~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Demo for data/demo/000457.jpg E:\pycharm\faster rcnn\FasterRcnn\Faster-RCNN-TensorFlow-Python3.5-master\data\demo\000457.jpg <class 'str'> [[[ 78 104 111] [ 55 78 80] [ 87 107 102] ... [ 35 53 52] [ 14 32 31] [ 27 45 44]]
而不是none之类的 im_read 的调用有问题
from faster-rcnn-tensorflow-python3.
I also have this problem, have you solve it?
from faster-rcnn-tensorflow-python3.
I solved the problem! It's because of the name!
http://tn00343140a.pixnet.net/blog/post/303187670-Faster%20RCNN%E9%81%87%E5%88%B0AttributeError:%20'NoneType'%20object%20has%20no%20attribute%20'astype'
from faster-rcnn-tensorflow-python3.
Related Issues (20)
- ResourceExhaustedError when allocating HOT 1
- 'NoneType' is not iterable: error during training HOT 9
- Unable to find vcvarsall.bat HOT 7
- TypeError: argument of type 'NoneType' is not iterable HOT 1
- AttributeError: 'NoneType' object has no attribute 'astype' HOT 1
- convert the ckpt model to pb model
- if v.name.split(':')[0] in var_keep_dic: TypeError: argument of type 'NoneType' is not iterable HOT 3
- InvalidArgumentError (see above for traceback): Incompatible shapes: [64,8] vs. [0,8]
- [Summary of the question]How to test the model after training? I can't find the .py to test the model.
- AttributeError: module 'lib' has no attribute 'datasets'
- Feature extracted network HOT 1
- How to draw the Recall-IoU curve?
- ModuleNotFoundError: No module named 'lib.utils.cython_bbox' HOT 4
- how to change the number of anchors? HOT 1
- KeError:Chair
- 怎么融合faster rcnn中第一层和第五层的特征作为第五层的输出?
- 请问怎样对视频目标进行检测?
- KeyError: 'image'
- AssertionError: Path does not exist: …………data/VOCdevkit2007/VOC2007/JPEGImages/showImages_(100).jpg
- [Summary of the question]How does the code need to be changed if cpu is used for training
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 faster-rcnn-tensorflow-python3.