jwh97nn / DeepDPS

[ICCV 2023] Towards Deeply Unified Depth-aware Panoptic Segmentation with Bi-directional Guidance Learning
12 stars 0 forks source link

complete readme.md #4

Open uowei opened 4 months ago

uowei commented 4 months ago

Firstly, congratulations on completing such an excellent work!

I'm very interested in your outstanding ideas.

Could you please create a more comprehensive README to guide me through understanding your work?

I've encountered some issues with dataset processing.

While creating the dataset, I referred to https://github.com/joe-siyuan-qiao/ViP-DeepLab/blob/master/cityscapes-dvps/README.md, but I encountered problems during execution.

My dataset does not include files like Cityscapes-DVPS/video_sequence/dvps_cityscapes_train/val.json.

I would like to ask how to create these datasets.

Traceback (most recent call last):
  File "train_mask.py", line 306, in <module>
    launch(
  File "/mnt/d/detectron2/detectron2/engine/launch.py", line 84, in launch
    main_func(*args)
  File "train_mask.py", line 298, in main
    trainer = Trainer(cfg)
  File "/mnt/d/detectron2/detectron2/engine/defaults.py", line 380, in __init__
    data_loader = self.build_train_loader(cfg)
  File "train_mask.py", line 124, in build_train_loader
    return build_detection_train_loader(cfg, mapper=mapper)
  File "/mnt/d/detectron2/detectron2/config/config.py", line 207, in wrapped
    explicit_args = _get_args_from_config(from_config, *args, **kwargs)
  File "/mnt/d/detectron2/detectron2/config/config.py", line 245, in _get_args_from_config
    ret = from_config_func(*args, **kwargs)
  File "/mnt/d/detectron2/detectron2/data/build.py", line 471, in _train_loader_from_config
    dataset = get_detection_dataset_dicts(
  File "/mnt/d/detectron2/detectron2/data/build.py", line 253, in get_detection_dataset_dicts
    dataset_dicts = [DatasetCatalog.get(dataset_name) for dataset_name in names]
  File "/mnt/d/detectron2/detectron2/data/build.py", line 253, in <listcomp>
    dataset_dicts = [DatasetCatalog.get(dataset_name) for dataset_name in names]
  File "/mnt/d/detectron2/detectron2/data/catalog.py", line 58, in get
    return f()
  File "/mnt/d/DeepDPS-main/data/cityscapes/cityscapes.py", line 179, in <lambda>
    lambda x=image_dir, y=gt_dir, z=gt_json: load_cityscapes_panoptic(
  File "/mnt/d/DeepDPS-main/data/cityscapes/cityscapes.py", line 79, in load_cityscapes_panoptic
    assert os.path.exists(
AssertionError: Please run `python cityscapesscripts/preparation/createPanopticImgs.py` to generate label files.

Thank you