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: Cannot find new config in BaseSearcher, even after 100 trials

See original GitHub issue

I am getting RuntimeError: Cannot find new config in BaseSearcher, even after 100 trials when using medium_quality_faster_inference as preset in ImagePredictor.

Colab notebook https://colab.research.google.com/drive/1ekpD-r29DqtDiPXCy9zHHA8LTKLeTDrN?usp=sharing

Error log

<ipython-input-5-b3c4aba9b9da> in <module>()
      1 predictor = ImagePredictor(verbosity=1)
      2 # since the original dataset does not provide validation split, the `fit` function splits it randomly with 90/10 ratio
----> 3 predictor.fit(train_dataset,tuning_data=test_dataset, presets=['medium_quality_faster_inference'],hyperparameters={'epochs': 1})  # you can trust the default config, we reduce the # epoch to save some build time

1 frames
/usr/local/lib/python3.7/dist-packages/autogluon/vision/configs/presets_configs.py in _call(*args, **kwargs)
     13         def _call(*args, **kwargs):
     14             gargs, gkwargs = set_presets(preset_name, *args, **kwargs)
---> 15             return f(*gargs, **gkwargs)
     16         return _call
     17     return _unpack_inner

/usr/local/lib/python3.7/dist-packages/autogluon/vision/predictor/predictor.py in fit(self, train_data, tuning_data, time_limit, presets, hyperparameters, **kwargs)
    375                 self._classifier = task.fit(train_data, tuning_data, 1 - holdout_frac, random_state)
    376             if err.exc_value is not None:
--> 377                 raise RuntimeError(err.exc_value + err.hint)
    378         self._classifier._logger.setLevel(log_level)
    379         self._classifier._logger.propagate = True

RuntimeError: Cannot find new config in BaseSearcher, even after 100 trials

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
talhaanwarchcommented, May 27, 2021

Btw thanks @Innixma you are doing great. AG is quite an amazing package.

1reaction
talhaanwarchcommented, May 25, 2021

Please check this notebook, https://colab.research.google.com/drive/1lo9FIkiubR28ZOxTAkT7qMcB4-ECU5iU?usp=sharing The error is quite weird. By default preset is ['medium_quality_faster_train'], if I define it explicitly, I got the error. Otherwise, I did not

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot find new config in BaseSearcher, even after 100 trials ...
I am getting RuntimeError: Cannot find new config in BaseSearcher, even after 100 trials when using medium_quality_faster_inference as preset in ...
Read more >
Can't find installation configuration file - Stack Overflow
I get the following error: RuntimeError: Can't find DRAMA installation configuration file. A reinstallation of DRAMA 3.0. 4 should fix it.
Read more >
#1141-1.ipynb - Colaboratory - Google Colab
since the original dataset does not provide validation split, ... RuntimeError: Cannot find new config in BaseSearcher, even after 100 trials.
Read more >
OpenOCD Troubleshooting: Can't Find File.cfg - eLinux.org
You attempt to run OpenOCD and it exits immediately with a warning: Can't find [file].cfg. OpenOCD has failed to find one or more...
Read more >
RsReportServer.config Configuration File - Microsoft Learn
Starting with SQL Server 2012, Reporting Services will automatically ... If the report server cannot find or read the configuration file, ...
Read more >

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