GithubHelp home page GithubHelp logo

Comments (5)

yhs95 avatar yhs95 commented on July 21, 2024 1

I also encountered this problem, how do you solve it?

from faster-rcnn-tensorflow-python3.

plin24 avatar plin24 commented on July 21, 2024 1

Check for the directory of your testing image.

from faster-rcnn-tensorflow-python3.

xiaozhang8tuo avatar xiaozhang8tuo commented on July 21, 2024 1

我的路径名中有中文 导致这个问题
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.

ZhengDigua avatar ZhengDigua commented on July 21, 2024

I also have this problem, have you solve it?

from faster-rcnn-tensorflow-python3.

540ul4rm6 avatar 540ul4rm6 commented on July 21, 2024

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)

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.