Code Monkey home page Code Monkey logo

promting_hoi's People

Contributors

scwangdyd avatar

Stargazers

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

Watchers

 avatar  avatar

promting_hoi's Issues

A detail about how to inference

When inferencing, does the network combine all possible interaction and object categories into text encoder to get the output feature and then calculate the similarity with the predicted feature of visual encoder? does it put all the combinations into it? Is it too computationally intensive? I can't find the relevant explanation in the paper, please ask for the answer, thank you

Single machine multi card training

There are eight 3080 video cards in my server, all of which have 10GB of memory. It's strange that I can train with a single card (batch size is set to 1), but I can't train with multiple cards in a single computer using the author's code. Does anyone know why?

Command:python -m torch.distributed.launch --nproc_per_node=8 --use_env main.py
--batch_size 1
--output_dir runs
--epochs 100
--lr 1e-4 --min-lr 1e-7
--enable_dec
--dataset_file hico

image

Runtime error on inference - HICO

"RuntimeError: expected scalar type Float but found Half"
I am getting the above error shown in bold when I run the inference on HICO-DET using the pretrained weights given in your repo. Could you please help?

Attaching the traceback for your reference ->

image
image

Here is the inference command I used (referring to your repo's README) -
python main.py --eval --batch_size 1 --output_dir hico_results --hoi_token_length 50 --enable_dec --pretrained downloaded_checkpoint/thid_hico_token50_epoch100.pth --eval_size 256 --test_score_thresh 1e-4 --dataset_file hico

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.