Semantic-Line-MWCS icon indicating copy to clipboard operation
Semantic-Line-MWCS copied to clipboard

Generate SEL preprocessing data

Open rtgunti opened this issue 2 years ago • 0 comments

Hi, thanks for the repo. I'm trying to reproduce the results on the SEL dataset from scratch. I downloaded the raw dataset. When I run the script to generate the preprocessed data,

cd Semantic-Line-MWCS/Preprocessing/code/
python main.py

I run into an error train.pickle is not available. This file indeed is not part of the raw dataset.

Traceback (most recent call last):
  File "main.py", line 29, in <module>
    main()
  File "main.py", line 23, in main
    dict_DB = prepare_dataloader(cfg, dict_DB)
  File "/home/testuser/Semantic-Line-MWCS/Preprocessing/code/libs/prepare.py", line 7, in prepare_dataloader
    dataset = Dataset_train(cfg=cfg, datalist=cfg.datalist_mode)
  File "/home/testuser/Semantic-Line-MWCS/Preprocessing/code/datasets/dataset.py", line 16, in __init__
    self.datalist = load_pickle(os.path.join(self.cfg.dir['dataset'][self.cfg.dataset_name], 'data/', datalist))
  File "/home/azureuser/Semantic-Line-MWCS/Preprocessing/code/libs/utils.py", line 68, in load_pickle
    with open(file_path + '.pickle', 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/datadrive/datasets/SEL/data/train.pickle'

The file, train.pickle file is part of preprocessed data. However, I would like to generate all the preprocessing data using the scripts from the repository. Could you please share if we can generate the preprocessing data using just the raw dataset and preprocessing scripts? Thank you!

rtgunti avatar Dec 06 '22 10:12 rtgunti