You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After configuring out all the env and dataset registry ,and running this command python tools/train.py configs/swin/swin-tiny-patch4-window7-in1k-pre_upernet_8xb2-160k_woodscape-512x512.py I get this error "File "/home/manzoor/anaconda3/envs/openmmlab/lib/python3.8/site-packages/mmengine/registry/registry.py", line 570, in build return self.build_func(cfg, *args, **kwargs, registry=self) File "/home/manzoor/anaconda3/envs/openmmlab/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 121, in build_from_cfg obj = obj_cls(**args) # type: ignore File "/home/manzoor/anaconda3/envs/openmmlab/mmsegmentation/mmseg/datasets/woodscape.py", line 24, in init super().init( File "/home/manzoor/anaconda3/envs/openmmlab/mmsegmentation/mmseg/datasets/basesegdataset.py", line 142, in init self.full_init() File "/home/manzoor/anaconda3/envs/openmmlab/lib/python3.8/site-packages/mmengine/dataset/base_dataset.py", line 298, in full_init self.data_list = self.load_data_list() File "/home/manzoor/anaconda3/envs/openmmlab/mmsegmentation/mmseg/datasets/basesegdataset.py", line 256, in load_data_list for img in fileio.list_dir_or_file( File "/home/manzoor/anaconda3/envs/openmmlab/lib/python3.8/site-packages/mmengine/fileio/io.py", line 760, in list_dir_or_file yield from backend.list_dir_or_file(dir_path, list_dir, list_file, suffix, File "/home/manzoor/anaconda3/envs/openmmlab/lib/python3.8/site-packages/mmengine/fileio/backends/local_backend.py", line 527, in _list_dir_or_file for entry in os.scandir(dir_path): FileNotFoundError: [Errno 2] No such file or directory: 'home/manzoor/anaconda3/envs/openmmlab/mmsegmentation/data/Woodscape-dataset/images/train_images'" even my data folder has the correct root path and access tried different absolute and relavent path methods nothing works can you please guide me?
The text was updated successfully, but these errors were encountered:
After configuring out all the env and dataset registry ,and running this command python tools/train.py configs/swin/swin-tiny-patch4-window7-in1k-pre_upernet_8xb2-160k_woodscape-512x512.py I get this error "File "/home/manzoor/anaconda3/envs/openmmlab/lib/python3.8/site-packages/mmengine/registry/registry.py", line 570, in build return self.build_func(cfg, *args, **kwargs, registry=self) File "/home/manzoor/anaconda3/envs/openmmlab/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 121, in build_from_cfg obj = obj_cls(**args) # type: ignore File "/home/manzoor/anaconda3/envs/openmmlab/mmsegmentation/mmseg/datasets/woodscape.py", line 24, in init super().init( File "/home/manzoor/anaconda3/envs/openmmlab/mmsegmentation/mmseg/datasets/basesegdataset.py", line 142, in init self.full_init() File "/home/manzoor/anaconda3/envs/openmmlab/lib/python3.8/site-packages/mmengine/dataset/base_dataset.py", line 298, in full_init self.data_list = self.load_data_list() File "/home/manzoor/anaconda3/envs/openmmlab/mmsegmentation/mmseg/datasets/basesegdataset.py", line 256, in load_data_list for img in fileio.list_dir_or_file( File "/home/manzoor/anaconda3/envs/openmmlab/lib/python3.8/site-packages/mmengine/fileio/io.py", line 760, in list_dir_or_file yield from backend.list_dir_or_file(dir_path, list_dir, list_file, suffix, File "/home/manzoor/anaconda3/envs/openmmlab/lib/python3.8/site-packages/mmengine/fileio/backends/local_backend.py", line 527, in _list_dir_or_file for entry in os.scandir(dir_path): FileNotFoundError: [Errno 2] No such file or directory: 'home/manzoor/anaconda3/envs/openmmlab/mmsegmentation/data/Woodscape-dataset/images/train_images'" even my data folder has the correct root path and access tried different absolute and relavent path methods nothing works can you please guide me?
The text was updated successfully, but these errors were encountered: