Skip to content

Data example from Yelp CSV does not work #5

Description

@AIG14

So running download_yelp.sh creates yelp.test.csv and yelp.train.csv, but then running yelp.py how are the sentiment.train and json files created?

Following instructions I get error:
C:\Users\Peter\Downloads\disentangled-style-transfer-vae-master\disentangled-style-transfer-vae-master>python dataset_preproc_scripts\yelp.py TRAIN preprocessed file not found at ./data/yelp/yelp.train.json. Creating new. creating vocab for train! updating vocab with sentences of label 0 Traceback (most recent call last): File "dataset_preproc_scripts\yelp.py", line 405, in <module> datasets[split] = Yelp( File "dataset_preproc_scripts\yelp.py", line 69, in __init__ self._create_data() File "dataset_preproc_scripts\yelp.py", line 146, in _create_data self._create_vocab() File "dataset_preproc_scripts\yelp.py", line 250, in _create_vocab file = open(self.raw_data_path + l, 'r') FileNotFoundError: [Errno 2] No such file or directory: './data/yelp/sentiment.train.0'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions