Skip to content

FileNotFoundError in DataLoader: template_level2.json not found during training  #33

@h-vaj

Description

@h-vaj

Traceback (most recent call last):
File "train.py", line 141, in
train()
...
File "/src/dataloader/bop.py", line 72, in init
self.load_metaData(
File "/src/dataloader/base.py", line 131, in load_metaData
templates_metaData = load_json(
File "/src/utils/inout.py", line 54, in load_json
with open(path, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: './datasets//datasets/tless/train/train_primesense/000001/template_level2.json'

Encountering a FileNotFoundError during training . The issue arises in the DataLoader while attempting to load the file template_level2.json.
This issue is consistently reproducible with the provided steps. The template_level2.json file is expected to be present in the specified directory, but it seems to be missing during the training run

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions