Skip to content

FileNotFoundError: [Errno 2] No such file or directory with pickle files while fitting #21

Description

@mossadhelali

Describe the bug
Hi, sometimes I get the following error while fitting a dataset.

Traceback (most recent call last):
  File "evaluate_on_dataset.py", line 53, in test_volcano
    model.fit(train_data)
  File "/dccstor/abdelai1/anaconda2/envs/volcano/lib/python3.7/site-packages/mindware/estimators.py", line 27, in fit
    super().fit(data, **kwargs)
  File "/dccstor/abdelai1/anaconda2/envs/volcano/lib/python3.7/site-packages/mindware/base_estimator.py", line 92, in fit
    self._ml_engine.fit(data, **kwargs)
  File "/dccstor/abdelai1/anaconda2/envs/volcano/lib/python3.7/site-packages/mindware/automl.py", line 176, in fit
    self.solver.fit_ensemble()
  File "/dccstor/abdelai1/anaconda2/envs/volcano/lib/python3.7/site-packages/mindware/blocks/abstract_block.py", line 128, in fit_ensemble
    with open(config_path, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'tmp/mindware-1643125097.4067643/1643126552.6057668_topk_config.pkl'

In my setting, I configured the output_dir to be tmp (in the local directory of the script). This happens when ensemble_method is not None, but not always.

Thanks for the effort

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