Junjue-Wang / EarthVQA

[AAAI 2024] EarthVQA: Towards Queryable Earth via Relational Reasoning-Based Remote Sensing Visual Question Answering
75 stars 2 forks source link

`ModuleNotFoundError` due to missing modules in `ever-beta` repository #13

Open ruzcko opened 2 months ago

ruzcko commented 2 months ago

I encountered several ModuleNotFoundError errors while working with the EarthVQA repository. After investigating the issue, I found that certain modules that are called within the EarthVQA codebase appear to be missing from the ever-beta repository. This seems to be causing the errors.

For example, the ever.api.data module, which is referenced in the EarthVQA code, no longer exists in the ever-beta repository. See images below:

From ever-beta repository: image

When running sh ./scripts/generate_segfeats.sh :

image image

When running sh ./scripts/train_sfpnr50.sh : image image

It seems that there might have been some recent changes or refactoring in the ever-beta repository that resulted in the removal of these modules. Could you please confirm if this is the case, and if so, could you provide guidance on how to adapt the EarthVQA codebase to work with the updated ever-beta modules?

Thank you for your help.

Liuyan9627 commented 2 months ago

Same issue

Junjue-Wang commented 2 months ago

The distributed.py and viz.py have been updated.

Liuyan9627 commented 2 months ago

Hi, I found that the version of ever-beta has updated recently. I download a previous version of ever-beta from . pip install ever-beta==0.2.3 After downloading this, the import error can be solved. Then, you may download a previous version of albumentations to tackle the issue of failed import albumentations. pip install albumentations==0.4.6