Coder Social home page Coder Social logo

zhang-jack / adversarial_yolo2 Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 8.0 55.1 MB

Forked for gitlab, https://gitlab.com/EAVISE/adversarial-yolo

License: MIT License

Dockerfile 0.01% Shell 0.01% Jupyter Notebook 99.23% Python 0.62% Makefile 0.01% C 0.07% C++ 0.01% Cuda 0.06%

adversarial_yolo2's People

Contributors

zhang-jack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

adversarial_yolo2's Issues

What's your torch version please?

We run the demo.py as " demo.py cfg/yolov2.cfg weights/yolo.weights".
And we got the error :
Traceback (most recent call last):
File "D:/adversarial_yolo2-master/demo.py", line 46, in
demo(cfgfile, weightfile)
File "D:/adversarial_yolo2-master/demo.py", line 34, in demo
draw_img = plot_boxes_cv2(img, bboxes, None, class_names)
File "D:\adversarial_yolo2-master\utils.py", line 217, in plot_boxes_cv2
x1 = int(round((box[0] - box[2]/2.0) * width))
TypeError: type Tensor doesn't define round method

After some debugging, we thought the reason may result from the different version of Torch.
Our torch version is 1.0.1

Cleanup non issue

When my account was compromised a spam issue was created in this repo. I sincerely apologize. Cleaning up such issues via script.

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.