Giter VIP home page Giter VIP logo

Comments (13)

DirtyHarryLYL avatar DirtyHarryLYL commented on May 29, 2024

Yeah, you need to download the predictions of the interactiveness model, then use them as the reference in NIS function.
Any problems?

from transferable-interactiveness-network.

SherlockHolmes221 avatar SherlockHolmes221 commented on May 29, 2024

Thanks for your reply!
One more question:
Should I replace the '60000_TIN_VCOCO_D.pkl' and '80000_TIN_D_noS.pkl' when testing my model in hico and vcoco dataset cause the best binary_score in these two file(used in NIS) is no long match the index of my trained model's predicted hoi pairs? Or I should keep them?

from transferable-interactiveness-network.

DirtyHarryLYL avatar DirtyHarryLYL commented on May 29, 2024

Yeah, if you have replaced the human-object pairs, like the boxes, then the interactiveness binary scores are no longer suitable.
You could retrain the interactiveness model and the HOI model on your own pairs.
Then after obtaining your own best interactiveness scores, you may use them to filtering the non-interactive pairs.

from transferable-interactiveness-network.

SherlockHolmes221 avatar SherlockHolmes221 commented on May 29, 2024

Got it! Thanks for your reply!
Then I want to ask where I can download your predictions of the interactiveness model of vcoco?

from transferable-interactiveness-network.

DirtyHarryLYL avatar DirtyHarryLYL commented on May 29, 2024

You could use:
python script/Download_data.py 1sjV6e916NIPcYYqbGwhKM6Vhl7SY6WqD -Results/80000_TIN_D_noS.pkl
python script/Download_data.py 1sJipmoZ-5u0ymm8diqYd5Yqk2A-QQBXN -Results/60000_TIN_VCOCO_D.pkl
to download the interactiveness scores for HICO-DET and V-COCO, or you may just directly run the script: script/download_dataset.sh. It will get everything done.

from transferable-interactiveness-network.

SherlockHolmes221 avatar SherlockHolmes221 commented on May 29, 2024

I have download the 60000_TIN_VCOCO_D.pkl following the script, but when I open the pickle file, I didn't find the binary score for NIS, and in fact I found the 60000_TIN_VCOCO_D.pkl is a file after NIS.
The picture below shows it, and where I should find the binary score?

5574fafe437ab5833c0b1cf18e8e5e0

from transferable-interactiveness-network.

DirtyHarryLYL avatar DirtyHarryLYL commented on May 29, 2024

image

from transferable-interactiveness-network.

SherlockHolmes221 avatar SherlockHolmes221 commented on May 29, 2024

Sorry for my carelessness, thanks a for your patience. I will close the issue.

from transferable-interactiveness-network.

wanna-fly avatar wanna-fly commented on May 29, 2024

File "tools/vcoco_lis_nis.py", line 184, in generate_pkl
score_binary_d = np.array(dic_d['binary_score'])
KeyError: 'binary_score'

the dic_d is 60000_TIN_VCOCO_D.pkl, and I have download it from https://docs.google.com/uc?export=download&id=1sJipmoZ-5u0ymm8diqYd5Yqk2A-QQBXN

I have downloaded the prediction file but still got a KeyError when running Test_TIN_VCOCO.py. Could you please tell me how do you solve this problem?

from transferable-interactiveness-network.

Foruck avatar Foruck commented on May 29, 2024

File "tools/vcoco_lis_nis.py", line 184, in generate_pkl
score_binary_d = np.array(dic_d['binary_score'])
KeyError: 'binary_score'
the dic_d is 60000_TIN_VCOCO_D.pkl, and I have download it from https://docs.google.com/uc?export=download&id=1sJipmoZ-5u0ymm8diqYd5Yqk2A-QQBXN

I have downloaded the prediction file but still got a KeyError when running Test_TIN_VCOCO.py. Could you please tell me how do you solve this problem?

Thanks for using our code! Would you mind providing more detailed error information?

from transferable-interactiveness-network.

wanna-fly avatar wanna-fly commented on May 29, 2024

Thanks for your reply, especially in this Dragon Boat Festival holiday! Finally I fixed this error by changing the key from 'binary_score' to b'binary_score', and now it works fine. By the way , How do you guys get the HO_weight and H_weight appeared in the TIN_VCOCO.py?

from transferable-interactiveness-network.

Foruck avatar Foruck commented on May 29, 2024

Thanks for your reply, especially in this Dragon Boat Festival holiday! Finally I fixed this error by changing the key from 'binary_score' to b'binary_score', and now it works fine. By the way , How do you guys get the HO_weight and H_weight appeared in the TIN_VCOCO.py?

Please refer to #36 for detailed description. The weight generation strategies for HICO-DET and V-COCO are the same.

from transferable-interactiveness-network.

wanna-fly avatar wanna-fly commented on May 29, 2024

Got it! Many thanks for helping:)

from transferable-interactiveness-network.

Related Issues (20)

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.