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

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

Open
zhenyih opened this issue Jun 15, 2020 · 0 comments

Comments

@zhenyih
Copy link

zhenyih commented Jun 15, 2020

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'
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