Hi, I am trying to add new images for M4C TextVQA according to issue 663. I started out by trying on 10 images of TextVQA download from the website. I'm doing it only for training. For validation and test, the config file still points to TextVQA. The builder.py and dataset.py were copied from TextVQA (with dataset name change only)
When I ran the code, there's following error.
I noticed there is similar errors for Windows machine, tried that fix, didn't work.
My extracted features are saved in a directory. Example of feature filename for an image00c359f294f7dcd9.npy. But not in a train directory. Is it causing this problem?
Traceback (most recent call last):
File "/home/cybertron/anaconda3/envs/mmf/bin/mmf_run", line 33, in <module>
sys.exit(load_entry_point('mmf', 'console_scripts', 'mmf_run')())
File "/home/cybertron/mmf/mmf_cli/run.py", line 129, in run
nprocs=config.distributed.world_size,
File "/home/cybertron/anaconda3/envs/mmf/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 230, in spawn
return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
File "/home/cybertron/anaconda3/envs/mmf/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 188, in start_processes
while not context.join():
File "/home/cybertron/anaconda3/envs/mmf/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 150, in join
raise ProcessRaisedException(msg, error_index, failed_process.pid)
torch.multiprocessing.spawn.ProcessRaisedException:
-- Process 0 terminated with the following error:
Traceback (most recent call last):
File "/home/cybertron/mmf/mmf/datasets/databases/readers/feature_readers.py", line 253, in _load
image_id = int(split.split("_")[-1])
ValueError: invalid literal for int() with base 10: 'train/006d10667d17b924'
❓ Questions and Help
Hi, I am trying to add new images for M4C TextVQA according to issue 663. I started out by trying on 10 images of TextVQA download from the website. I'm doing it only for training. For validation and test, the config file still points to TextVQA. The
builder.py
anddataset.py
were copied from TextVQA (with dataset name change only) When I ran the code, there's following error. I noticed there is similar errors for Windows machine, tried that fix, didn't work.My extracted features are saved in a directory. Example of feature filename for an image
00c359f294f7dcd9.npy
. But not in atrain directory
. Is it causing this problem?