git-disl / TOG

Real-time object detection is one of the key applications of deep neural networks (DNNs) for real-world mission-critical systems. While DNN-powered object detection systems celebrate many life-enriching opportunities, they also open doors for misuse and abuse. This project presents a suite of adversarial objectness gradient attacks, coined as TOG, which can cause the state-of-the-art deep object detection networks to suffer from untargeted random attacks or even targeted attacks with three types of specificity: (1) object-vanishing, (2) object-fabrication, and (3) object-mislabeling. Apart from tailoring an adversarial perturbation for each input image, we further demonstrate TOG as a universal attack, which trains a single adversarial perturbation that can be generalized to effectively craft an unseen input with a negligible attack time cost. Also, we apply TOG as an adversarial patch attack, a form of physical attacks, showing its ability to optimize a visually confined patch filled with malicious patterns, deceiving well-trained object detectors to misbehave purposefully.
121 stars 41 forks source link

ERROR: ResolutionImpossible #7

Closed jaeholo closed 3 years ago

jaeholo commented 3 years ago

When I am installing the dependencies, I have the error below: **ERROR: Cannot install -r ./requirements.txt (line 12), -r ./requirements.txt (line 3), -r ./requirements.txt (line 4), -r ./requirements.txt (line 6), -r ./requirements.txt (line 8), -r ./requirements.txt (line 9) and numpy==1.19.2 because these package versions have conflicting dependencies.

The conflict is caused by: The user requested numpy==1.19.2 cupy-cuda100 7.1.1 depends on numpy>=1.9.0 keras 2.2.4 depends on numpy>=1.9.1 matplotlib 3.3.2 depends on numpy>=1.15 scikit-image 0.17.2 depends on numpy>=1.15.1 tensorboardx 2.0 depends on numpy tensorflow-gpu 1.15.4 depends on numpy<1.19.0 and >=1.16.0

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict**

It seems that the given version of different packages in the requirement.txt conflict, how should I fix this problem?

khchow-gt commented 3 years ago

Hi, you could use the following TensorFlow version: 1.14.0

jaeholo commented 3 years ago

Hi, you could use the following TensorFlow version: 1.14.0

Thanks, I would have a try~