gchaperon / neural-state-machine

[WORK IN PROGRESS!!] Unofficial source code for https://arxiv.org/abs/1907.03950
MIT License
7 stars 1 forks source link

Dataloader for preprocessing GQA #2

Open akkkb opened 1 year ago

akkkb commented 1 year ago

Thanks for sharing the repository. Could you please suggest, how to use class GQASceneGraphsOnlyDataset(data.Dataset[NSMItem]) in https://github.com/gchaperon/neural-state-machine/blob/main/nsm/datasets/gqa.py file. Like gqa_root: Path, corenlp_root: Path, main.py file for GQA etc. Which 'Path' to be passed here as input? More specifically trying to use this repository for GQA dataset. All required information will be really helpful.

Thanking you in advance.

gchaperon commented 1 year ago

the dir gqa_root should contain the raw files for the gqa dataset (downloaded from the official website)

corenlp_root should contain the files for the corenlp library from standford, but the preprocessing i did of questions was super messy, I would recommend you implementing it from scratch

sorry I cannot help you much more rigth now, Im bussy with life :disappointed:

akkkb commented 1 year ago

Thanks @gchaperon for response.