This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
naming directories with the prefix "coco_" causes assertion error #169
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
i renamed my coco folders from their default names ("train2014") to the names specified in the documentation which results in this error:
INFO train.py: 171: Loading dataset: ('dense_coco_2014_train', 'dense_coco_2014_valminusminival')
Traceback (most recent call last):
File "tools/train_net.py", line 119, in
main()
File "tools/train_net.py", line 101, in main
checkpoints = detectron.utils.train.train_model()
File "/densepose/detectron/utils/train.py", line 50, in train_model
setup_model_for_training(model, weights_file, output_dir)
File "/densepose/detectron/utils/train.py", line 149, in setup_model_for_training
add_model_training_inputs(model)
File "/densepose/detectron/utils/train.py", line 173, in add_model_training_inputs
cfg.TRAIN.DATASETS, cfg.TRAIN.PROPOSAL_FILES
File "/densepose/detectron/datasets/roidb.py", line 53, in combined_roidb_for_training
roidbs = [get_roidb(*args) for args in zip(dataset_names, proposal_files)]
File "/densepose/detectron/datasets/roidb.py", line 34, in get_roidb
ds = JsonDataset(dataset_name)
File "/densepose/detectron/datasets/json_dataset.py", line 49, in init
'Im dir '{}' not found'.format(dataset_catalog.get_im_dir(name))
AssertionError: Im dir '/densepose/detectron/datasets/data/coco/train2014' not found
I'd like to see the documentation corrected because its already difficult enough to get this software working without silly gotcha's like this.