Giter Site home page Giter Site logo

Comments (6)

sarahESL avatar sarahESL commented on June 12, 2024

Thanks for the comment and opening the issue. I will have a look as soon as I get the time. Meanwhile, feel free to make a pull request with your changes if you want.

from pubmedclip.

lycutter avatar lycutter commented on June 12, 2024

Hello, I'm having trouble running the script for generating the input files (dictionaries, and pickles). One problem in lib/utils/run.sh runs python create_dictionary.py "../../data/data_slake" instead of /data_rad/. However, after changing the directory to data_rad more issues pop up including df columns not matching and I understand that most likely the file was not modified perfectly for generating both datasets' inputs.

It took a while to get them all working, but it would be nice to see a fix.

Hello,
Could you please share the preprocess data on data_rad, I found some troubles in generating the files. Thanks!

from pubmedclip.

sarahESL avatar sarahESL commented on June 12, 2024

Thanks @lycutter and @zyzkevin for reporting this issue.

Both create_dictionary.py and create_label.py should be fixed now and work for both VQA_RAD and VQA_SLAKE datasets.

Let me know if any other issues shall arise!

from pubmedclip.

lycutter avatar lycutter commented on June 12, 2024

Thanks @lycutter and @zyzkevin for reporting this issue.

Both create_dictionary.py and create_label.py should be fixed now and work for both VQA_RAD and VQA_SLAKE datasets.

Let me know if any other issues shall arise!
Thank for your replying, I update these two files and use them to generate the input files. However, it occured some bugs too, suah as key error 'answer[image_name] ' in the data_RAD.py, dimension mismatch when loading the type_classifer.pth. The train.json file and test.json file I use are from https://github.com/aioz-ai/MICCAI19-MedVQA. I don't know whether these bugs are related to these two .json files. Could you plz share all the completed input files.
Thanks!

from pubmedclip.

sarahESL avatar sarahESL commented on June 12, 2024

@lycutter The scripts in this repo should work for the official datasets released in the original VQA_RAD paper. But maybe you can use the data from https://github.com/Awenbocc/med-vqa/tree/master/data?

If the error in data_RAD.py still appears, I would appreciate it if you could make another issue and write the error you get there. Let's keep this thread for issues arising from lib/utils/run.sh.

from pubmedclip.

lycutter avatar lycutter commented on June 12, 2024

@lycutter The scripts in this repo should work for the official datasets released in the original VQA_RAD paper. But maybe you can use the data from https://github.com/Awenbocc/med-vqa/tree/master/data?

If the error in data_RAD.py still appears, I would appreciate it if you could make another issue and write the error you get there. Let's keep this thread for issues arising from lib/utils/run.sh.

Thanks for your help! It works now.

from pubmedclip.

Related Issues (16)

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.