Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to run offline setting? #16

Open
wendyhuang2021 opened this issue Mar 22, 2024 · 1 comment
Open

how to run offline setting? #16

wendyhuang2021 opened this issue Mar 22, 2024 · 1 comment

Comments

@wendyhuang2021
Copy link

Hi, I want to run your code without incremental setting in the voc dataset.
According to task.py, I edited line 35 of run.sh from task=15-5 to task=offine.
However, I encountered an error:
FileNotFoundError: Please, add the traning spilt in data/voc/offline-ov/train-0.npy., occurring in dataset.py line 26.

What should I do? Could you provide me the missing file?

@wendyhuang2021
Copy link
Author

wendyhuang2021 commented Mar 23, 2024

I discovered that .npy file in data/voc/15-5:
train-0.npy + train-1.npy -> 10582
val-0.npy + val-1.npy -> 1449

Both of train.npy and val.npy match the full dataset size.
Could I just build .npy like below?
train-0.npy -> [0, 1, ..., 10581]
val-0.npy -> [0, 1, ..., 1449]
test_on_val-0.npy -> [0, 1, ..., 1449]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant