Skip to content

IOError: [Errno 2] No such file or directory: './data/new_annot/polarity_label_holdtarg/new_train.json' #4

Description

@monajalal

Hello
Can you please share your test and train datase?

[jalal@goku document-e2e-sent]$ python baseline_model_GPU.py 
creating fields
parsing data from file
Traceback (most recent call last):
  File "baseline_model_GPU.py", line 333, in <module>
    main()
  File "baseline_model_GPU.py", line 295, in main
    train_data, dev_data, test_data, TEXT = parser.parse_input_files(BATCH_SIZE, EMBEDDING_DIM, using_GPU)
  File "/scratch2/debate_tweets/sentiment/document-e2e-sent/data_processor.py", line 47, in parse_input_files
    'holder_target': ('holder_target', HOLDER_TARGET)}
  File "/scratch/sjn-p2/anaconda/anaconda2/lib/python2.7/site-packages/torchtext/data/dataset.py", line 76, in splits
    os.path.join(path, train), **kwargs)
  File "/scratch/sjn-p2/anaconda/anaconda2/lib/python2.7/site-packages/torchtext/data/dataset.py", line 215, in __init__
    with io.open(os.path.expanduser(path), encoding="utf8") as f:
IOError: [Errno 2] No such file or directory: './data/new_annot/polarity_label_holdtarg/new_train.json'
[jalal@goku document-e2e-sent]$ ls ./data/new_annot/polarity_label_holdtarg/
[jalal@goku document-e2e-sent]$ 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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