-
Notifications
You must be signed in to change notification settings - Fork 8
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
'omegaconf.errors.ConfigAttributeError: Missing key forest_regions' when trying to evaluate on the provided FOR-instance dataset using eval.py #12
Comments
Hi, here is the solution: |
Hi,
I tried to see the evaluation results using the pretrained model on FOR-instance. The command is 'python eval.py'. But enconterred the following error. I tried to add values to 'forest_regions' in treeins_rad8.yaml as follows, but it still didn't work. What might be the reason?
forest_regions: ['CULS','NIBIO','NIBIO2','RMIT','SCION','TUWIEN']
fold: ['/home/zhan5404/PanopticSeg/data/treeinsfused/raw/CULS/','/home/zhan5404/PanopticSeg/data/treeinsfused/raw/NIBIO/','/home/zhan5404/PanopticSeg/data/treeinsfused/raw/NIBIO2/','/home/zhan5404/PanopticSeg/data/treeinsfused/raw/RMIT/','/home/zhan5404/PanopticSeg/data/treeinsfused/raw/SCION/','/home/zhan5404/PanopticSeg/data/treeinsfused/raw/TUWIEN/']
File "eval.py", line 14, in main
trainer = Trainer(cfg)
File "/home/zhan5404/PanopticSeg/torch_points3d/trainer.py", line 48, in init
self._initialize_trainer()
File "/home/zhan5404/PanopticSeg/torch_points3d/trainer.py", line 90, in _initialize_trainer
self._dataset: BaseDataset = instantiate_dataset(self._checkpoint.data_config)
File "/home/zhan5404/PanopticSeg/torch_points3d/datasets/dataset_factory.py", line 46, in instantiate_dataset
dataset = dataset_cls(dataset_config)
File "/home/zhan5404/PanopticSeg/torch_points3d/datasets/panoptic/treeins.py", line 633, in init
forest_regions=self.dataset_opt.forest_regions, # @treeins
omegaconf.errors.ConfigAttributeError: Missing key forest_regions
full_key: data.forest_regions
object_type=dict
The text was updated successfully, but these errors were encountered: