Giter Club home page Giter Club logo

Comments (5)

chenjun2hao avatar chenjun2hao commented on July 17, 2024

from centerface.pytorch.

jhgfkdj avatar jhgfkdj commented on July 17, 2024

nms需要编译一下,参考centernet。

------------------ 原始邮件 ------------------ 发件人: "jhgfkdj"<[email protected]>; 发送时间: 2020年4月26日(星期天) 晚上6:12 收件人: "chenjun2hao/CenterFace.pytorch"<[email protected]>; 抄送: "Subscribed"<[email protected]>; 主题: [chenjun2hao/CenterFace.pytorch] 请问一下为何ImportError: No module named detectors.detector_factory (#17) 直接进入src中执行python test_wider_face.py就报这个错误。 当然我后来改了用sys.path.append('lib/detectors'), sys.path.append('lib/datasets'), 然后from detector_factory import detector_factory 这样就在这一步导入没问题。 但是后面detector_factory.py中的带前点的import全都要去掉点,以及要from external.nms import xx的时候又出问题。搞不清这个路径到底该如何导入了,感觉有点复杂。 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

你指的是单独nms需要编译,还是lib中的其他东西也需要编译?因为你看我之前说的,还没到nms那一步, 就无法使用form 文件夹.文件 import 函数这个方法

from centerface.pytorch.

chenjun2hao avatar chenjun2hao commented on July 17, 2024

from centerface.pytorch.

jhgfkdj avatar jhgfkdj commented on July 17, 2024

nms编译之后才能。同时参考要求的python版本。

------------------ 原始邮件 ------------------ 发件人: "jhgfkdj"<[email protected]>; 发送时间: 2020年4月26日(星期天) 晚上6:16 收件人: "chenjun2hao/CenterFace.pytorch"<[email protected]>; 抄送: "陈军"<[email protected]>; "Comment"<[email protected]>; 主题: Re: [chenjun2hao/CenterFace.pytorch] 请问一下为何ImportError: No module named detectors.detector_factory (#17) nms需要编译一下,参考centernet。 … ------------------ 原始邮件 ------------------ 发件人: "jhgfkdj"<[email protected]>; 发送时间: 2020年4月26日(星期天) 晚上6:12 收件人: "chenjun2hao/CenterFace.pytorch"<[email protected]>; 抄送: "Subscribed"<[email protected]>; 主题: [chenjun2hao/CenterFace.pytorch] 请问一下为何ImportError: No module named detectors.detector_factory (#17) 直接进入src中执行python test_wider_face.py就报这个错误。 当然我后来改了用sys.path.append('lib/detectors'), sys.path.append('lib/datasets'), 然后from detector_factory import detector_factory 这样就在这一步导入没问题。 但是后面detector_factory.py中的带前点的import全都要去掉点,以及要from external.nms import xx的时候又出问题。搞不清这个路径到底该如何导入了,感觉有点复杂。 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. 你指的是单独nms需要编译,还是lib中的其他东西也需要编译?因为你看我之前说的,还没到nms那一步, 就无法使用form 文件夹.文件 import 函数这个方法 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

原来如此,是python版本的问题,我用的2。 多谢解答

from centerface.pytorch.

Monkey-D-Luffy-star avatar Monkey-D-Luffy-star commented on July 17, 2024

我也遇到了,请问怎么解决

from centerface.pytorch.

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.