Skip to content
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

Generate SEL preprocessing data #7

Open
rtgunti opened this issue Dec 6, 2022 · 0 comments
Open

Generate SEL preprocessing data #7

rtgunti opened this issue Dec 6, 2022 · 0 comments

Comments

@rtgunti
Copy link

rtgunti commented Dec 6, 2022

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant