Skip to content

Commit

Permalink
add constraints back in AE search
Browse files Browse the repository at this point in the history
  • Loading branch information
moreib committed Dec 9, 2024
1 parent 5bd9124 commit e2e6555
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions hannah/conf/nas/aging_evolution_nas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ n_jobs: 10
presample: False
total_candidates: 50
num_selected_candidates: 20
constrained_sampling_on_search: True
bounds:
val_error: 0.1
# total_macs: 128000000
Expand Down
2 changes: 1 addition & 1 deletion hannah/nas/search/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def sample_candidates(
num_candidates=None,
sort_key="val_error",
presample=False,
constrain=False,
constrain=True,
):
candidates = []
skip_ct = 0
Expand Down

0 comments on commit e2e6555

Please sign in to comment.