Skip to content

FileNotFoundError: [Errno 2] No such file or directory: '/opt/gbm-datasets/fraud/creditcard.csv.zip' #10

Description

@zhenyih

python -u runme.py -dataset "aireline" -verbose -warmup -algorithm xgb-gpu

or any dataset results in the following error:

Xgboost : 1.0.0-SNAPSHOT
System  : 3.6.7 | packaged by conda-forge | (default, Nov  6 2019, 16:19:42)
[GCC 7.3.0]
#jobs   : 20
Downloading 310%2F23498%2Fcompressed%2Fcreditcard.csv.zip to /opt/gbm-datasets/fraud
 92% 61.0M/66.0M [00:01<00:00, 53.7MB/s]
100% 66.0M/66.0M [00:01<00:00, 61.4MB/s]
Traceback (most recent call last):
  File "runme.py", line 146, in <module>
    main()
  File "runme.py", line 130, in main
    benchmark(args, os.path.join(args.root, "fraud"), "fraud")
  File "runme.py", line 105, in benchmark
    data = prepare_dataset(dataset_folder, dataset, args.nrows)
  File "/opt/gbm-bench/gbm-bench/datasets.py", line 58, in prepare_dataset
    return prepare_function(dataset_folder, nrows)
  File "/opt/gbm-bench/gbm-bench/datasets.py", line 145, in prepare_fraud
    df = pd.read_csv(local_url + ".zip", dtype=np.float32, nrows=nrows)
  File "/opt/conda/envs/rapids/lib/python3.6/site-packages/pandas/io/parsers.py", line 702, in parser_f
    return _read(filepath_or_buffer, kwds)
  File "/opt/conda/envs/rapids/lib/python3.6/site-packages/pandas/io/parsers.py", line 429, in _read
    parser = TextFileReader(filepath_or_buffer, **kwds)
  File "/opt/conda/envs/rapids/lib/python3.6/site-packages/pandas/io/parsers.py", line 895, in __init__
    self._make_engine(self.engine)
  File "/opt/conda/envs/rapids/lib/python3.6/site-packages/pandas/io/parsers.py", line 1122, in _make_engine
    self._engine = CParserWrapper(self.f, **self.options)
  File "/opt/conda/envs/rapids/lib/python3.6/site-packages/pandas/io/parsers.py", line 1853, in __init__
    self._reader = parsers.TextReader(src, **kwds)
  File "pandas/_libs/parsers.pyx", line 387, in pandas._libs.parsers.TextReader.__cinit__
  File "pandas/_libs/parsers.pyx", line 644, in pandas._libs.parsers.TextReader._setup_parser_source
  File "/opt/conda/envs/rapids/lib/python3.6/zipfile.py", line 1113, in __init__
    self.fp = io.open(file, filemode)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/gbm-datasets/fraud/creditcard.csv.zip'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions