Auto-PyTorch icon indicating copy to clipboard operation
Auto-PyTorch copied to clipboard

time-series config json file missing when running example code

Open RobbyW551 opened this issue 3 years ago • 1 comments

NOTE: ISSUES ARE NOT FOR CODE HELP - Ask for Help at https://stackoverflow.com

Your issue may already be reported! Also, please search on the issue tracker before creating one.

  • I'm submitting a ...
    • [x] bug report

Issue Description

  • When Issue Happens
    1. Running example code of time-series forecasting.
  • Steps To Reproduce
    1. install autopytorch-0.2 with pip. pip install autoPyTorch autoPyTorch[forecasting]
    2. run https://github.com/automl/Auto-PyTorch/blob/master/examples/20_basics/example_time_series_forecasting.py in the auto-pytorch virtual environment.

Expected Behavior

There should be three config json files in 'config' directory, including forecasting_init_cfgs.json

Current Behavior

forecasting_init_cfgs.json is missing after pip installation in the site-package repo of python.

Possible Solution

Error Message

FileNotFoundError: [Errno 2] No such file or directory: '/home/robby/miniconda3/envs/auto-pytorch/lib/python3.8/site-packages/autoPyTorch/optimizer/../configs/forecasting_init_cfgs.json'

Your Local environment

  • Operating System, version Ubuntu 20.04
  • Python, version Python 3.8
  • Outputs of pip freeze or conda list pytorch=1.12+cu116

RobbyW551 avatar Aug 03 '22 15:08 RobbyW551

Thanks for the bug reporting, the path to the forecasting_init_cfgs.py was not properly installed, we will fix this bug ASAP in the next release.

dengdifan avatar Aug 04 '22 15:08 dengdifan

Hi, we have fixed this issue in the latest release. You can install it using pip install autoPyTorch==0.2.1. I am closing this issue for now.

ravinkohli avatar Aug 23 '22 16:08 ravinkohli