nv-nguyen / template-pose

[CVPR 2022] Pytorch implementation of "Templates for 3D Object Pose Estimation Revisited: Generalization to New objects and Robustness to Occlusions" paper
https://nv-nguyen.github.io/template-pose/
178 stars 13 forks source link

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

Open h-vaj opened 10 months ago

h-vaj commented 10 months ago

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