8000 Requires detailed test procedure instructions · Issue #9 · lorebianchi98/FG-OVD · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Requires detailed test procedure instructions #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
yangt1013 opened this issue Sep 29, 2024 · 0 comments
Open

Requires detailed test procedure instructions #9

yangt1013 opened this issue Sep 29, 2024 · 0 comments

Comments

@yangt1013
Copy link
yangt1013 commented Sep 29, 2024

Hi author, I am glad about your work. But I am a beginner in LLM, your code confuses me a lot.

  1. First, in the captions_generations folder, execute python main.py --gpu DEVICE_ID --dataset paco_lvis_v1_test --batch_size BATCH_SIZE. Errors will often be reported. │ /ssd1/yangt/FG-OVD/code/FG-OVD-main/captions_generation/fill_categories.py:233 in │
    │ create_hardnegatives_object │
    │ │
    │ 230 │ │ # if there are no possible hardnegative for this object, we remove it from the l │
    │ 231 │ │ has_attributes[object_to_hn] = possible_hn != [[],[],[],[]] │
    │ 232 │ │
    │ ❱ 233 │ assert len(hardnegative_captions) > 0, "zero hardnegatives generated, the caption is │
    │ 234 │ return positive_caption, hardnegative_captions │
    │ 235 │
    │ 236 def create_hardnegatives(objects, n_hardnegatives): │
    ╰────────────────────────────────────────────────────────────────────────────────────────────────────╯
    AssertionError: zero hardnegatives generated, the caption is A
    I don't know why. Can you check carefully and make sure there are no errors before publishing?
  2. When I skipped generating the dataset and ran the test files in the detector_inference folder, I found that the locations of some files were not displayed, and the parameter settings in args were very confusing. I don't know how to operate them.
    Traceback (most recent call last):
    File "/ssd1/yangt/FG-OVD/code/FG-OVD-main/detectors_inferences/cora_inferences.py", line 15, in
    import util.misc as utils
    ModuleNotFoundError: No module named 'util'
  3. Please check all the files carefully, list the detailed running instructions and the detailed location and meaning of the args file, otherwise it is really confusing.
    Now we are very interested in this work, but after trying to run it for a week, we found various errors that made it impossible to solve. Can you help us solve these problems? Looking forward to your reply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0