Giter Club home page Giter Club logo

Comments (10)

Vickeyhw avatar Vickeyhw commented on July 27, 2024

Could you please provide more details about your error? @xkk110

from g2sd.

xkk110 avatar xkk110 commented on July 27, 2024

Thanking for your reply! I followed your installation. But when I installed detectron2 and ran plain_distill_net.py, the error was displayed. Could you provide a more detailed installation and "readme.md"?

from g2sd.

xkk110 avatar xkk110 commented on July 27, 2024

Could I install detectron on cuda11.7?

from g2sd.

Vickeyhw avatar Vickeyhw commented on July 27, 2024

It seems not the cuda version problem. @xkk110 Have you installed Detectron2 from the local code? If not, have a try.
rm -rf G2SD_det_dis/build/ **/*.so
python -m pip install -e G2SD_det_dis

from g2sd.

xkk110 avatar xkk110 commented on July 27, 2024

Thanks for your reply! When I ran python -m pip install -e G2SD_det_dis, the error" ERROR: G2SD_det_dis is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file)."was displayed. Because it is my first time to use detectron, there maybe some problems. Thanks!我自己再重新安装detectron 试试

from g2sd.

tzt101 avatar tzt101 commented on July 27, 2024

@Vickeyhw Hi, I have installed Detectron2 with the following commands:
rm -rf G2SD_det_dis/build/ **/*.so
python -m pip install -e G2SD_det_dis

But when I run the plain_distill_net.py, I get the error as:
ModuleNotFoundError: No module named 'detectron2.data'

And I find that no data in G2SD_det_dis/detectron2/. How can I solve this problem?

from g2sd.

Vickeyhw avatar Vickeyhw commented on July 27, 2024

I have reuploaded it. Please have a try again. @tzt101

from g2sd.

tzt101 avatar tzt101 commented on July 27, 2024

@Vickeyhw Thanks. Again, I get another error as:
RuntimeError: common/data/coco.py not available in Model Zoo!

It seems that no data in G2SD_det_dis/configs/common/.

from g2sd.

Vickeyhw avatar Vickeyhw commented on July 27, 2024

@tzt101 Due to the wrong item being added in .gitignore file, these files are ignored during uploading. It has been fixed now.

from g2sd.

tzt101 avatar tzt101 commented on July 27, 2024

@Vickeyhw Thank you for your kindly response! I have successfully run the training code.

Other small issues are: lacking '#' before 'All Rights Reserved' in detectron2/modeling/backbone/regnet.py and detectron2/modeling/backbone/utils.py.

from g2sd.

Related Issues (8)

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.