allenai / allennlp

An open-source NLP research library, built on PyTorch.
http://www.allennlp.org
Apache License 2.0
11.72k stars 2.25k forks source link

allennlp.common.checks.ConfigurationError #5664

Closed swati1504 closed 2 years ago

swati1504 commented 2 years ago

Checklist

Description

I am using allennlp 0.8.1 version On running the below code: !allennlp train legal.json -s tmp --include-package mylib it gives an error: allennlp.common.checks.ConfigurationError: 'Serialization directory (tmp) already exists and is not empty. Specify --recover to recover training from existing output.'

Looking for help. Thanks in advance.

Python traceback:

``` ```

Related issues or possible duplicates

Environment

OS:Windows

Python version: Pthon 3.6+

Output of pip freeze:

``` ```

Steps to reproduce

Example source:

``` ```

AkshitaB commented 2 years ago

@swati1504 allennlp.common.checks.ConfigurationError: 'Serialization directory (tmp) already exists and is not empty. You need to delete the tmp directory (or use a different directory for your training run's output), and then the error should go away.

swati1504 commented 2 years ago

Yes it was already resolved ! Thanks