question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RuntimeError: The best config {'search_space▁optimization.lr': 5.5e-05} is not found in config history = OrderedDict().

See original GitHub issue

Using SageMaker, tried conda_python3 (and downloaded mxnet as suggested in https://autogluon.mxnet.io/install.html#installation-faq) and conda_mxnet_36, error is reproduced in both kernels.

Just following the text prediction quick start example, but running into following:

!pip install --upgrade pip
!pip install --upgrade 'scikit-learn<0.23,>=0.22.0'
!pip install --upgrade mxnet autogluon
from autogluon import TextPrediction as task
from autogluon.utils.tabular.utils.loaders.load_pd import load
import pandas as pd
import numpy as np
train_data = load('https://autogluon-text.s3-accelerate.amazonaws.com/glue/sst/train.parquet')
dev_data = load('https://autogluon-text.s3-accelerate.amazonaws.com/glue/sst/dev.parquet')
rand_idx = np.random.permutation(np.arange(len(train_data)))[:2000]
train_data = train_data.iloc[rand_idx]
train_data.head(10)

predictor = task.fit(train_data, label='label',
                     time_limits=60,
                     seed=123,
                     output_directory='./ag_sst')

(No gpu configuration as my instance does not have gpu) Running into: RuntimeError: The best config {'search_space▁optimization.lr': 5.5e-05} is not found in config history = OrderedDict(). This should never happen! error

Edit: tried on both 0.0.13 and 0.0.14, same error. I did check the setup.py and verified that all packages were installed. Not sure if there’s a version mismatch?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:30

github_iconTop GitHub Comments

1reaction
sxjsciencecommented, Sep 6, 2020

@ganeshmg @SamanthaSHan Thanks so much for trying out AutoGluon! The error message is improved in https://github.com/awslabs/autogluon/pull/651. Also, I fixed the bug found by @ganeshmg. In order to try out this fix, you may use:

pip uninstall autogluon
pip install git+https://github.com/sxjscience/autogluon.git@fix_bug
0reactions
sxjsciencecommented, Sep 14, 2020

@ganeshmg I will mark it as resolved now. Feel free to reopen!

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found