GithubHelp home page GithubHelp logo

tianchi04's People

Stargazers

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

Watchers

 avatar

tianchi04's Issues

The source of pertained yolov4

I feel a little confused about the output of yolov4, which is a list of 3 arrays, looking like the boxes, object confidence and classification. However, when I look into the codes of postprocessing,

Tianchi04/tool/utils.py

Lines 176 to 177 in ec82f36

# [batch, num, num_classes]
confs = output[1]

only the objectless is used as the confidence and doesn't match the comments.

Could you please explain a little bit or refer me to the original repo of yolov4?

Some Question

Hello, I encountered the following issues while trying to reproduce your code using mmcv and mmdet. Could you please explain the reasons for this and suggest how to resolve them?

Traceback (most recent call last):
File "attack_1.py", line 146, in
mask = get_mask(data['img'], data['img_metas'], pixels)
File "attack_1.py", line 71, in get_mask
bbox, label = model2(return_loss=False, rescale=True, img=image, img_metas=meta)
ValueError: not enough values to unpack (expected 2, got 1)

How to generate the patch on my own custom image

Hi, first of all thank you for your hard work on this subject!
I am trying to generate adversarial examples using your patch generation method, but I am slightly confused with a few things.
First, is it required for me to train my own Yolov4 and FasterRCNN models, or would pretrained models be ok? (I am only using images with cars)
Also, is there any guide to go about with the patch generation?
Thank you once again!

requirements txt

Is there one available? Inlcuding torch / torchvision / etc?

Thanks a lot!

when I run the code

File "E:/workspace/Tianchi04/attack_2.py", line 72, in get_mask
bbox, label = model2(return_loss=False, rescale=True, img=image, img_metas=meta)
ValueError: not enough values to unpack (expected 2, got 1)

Why resize the image to 800x800 when running faster rcnn?

Hi,

I want to ask a question about the size of input image when inputing to faster rcnn. Why should we need to resize the size to 800x800? I did not see the requirements in the relevant literature or mmdetection. Could you give me some advice? Thank you in advance.

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.