RuntimeError: The best config {'search_space▁optimization.lr': 5.5e-05} is not found in config history = OrderedDict().
See original GitHub issueUsing 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:
- Created 3 years ago
- Comments:30
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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:
@ganeshmg I will mark it as resolved now. Feel free to reopen!