mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-07 03:57:45 +00:00
feat: refine the code in model description and fix some bugs in feedback.py (#288)
* fix some bugs in feedback.py * feat: kaggle templates related (#287) * add kaggle test * kaggle templates changes * rename two files * fix a grammar bug * fix a ci error * fix a bug --------- Co-authored-by: XianBW <36835909+XianBW@users.noreply.github.com>
This commit is contained in:
@@ -17,6 +17,7 @@ from typing import Callable
|
||||
|
||||
from tqdm.auto import tqdm
|
||||
|
||||
from rdagent.core.exception import CoderError
|
||||
from rdagent.log import rdagent_logger as logger
|
||||
|
||||
|
||||
@@ -114,6 +115,10 @@ class LoopBase:
|
||||
self.loop_idx += 1
|
||||
self.step_idx = 0
|
||||
continue
|
||||
except CoderError as e:
|
||||
logger.warning(f"Traceback loop {li} due to {e}")
|
||||
self.step_idx -= 1
|
||||
continue
|
||||
|
||||
end = datetime.datetime.now(datetime.timezone.utc)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user