From e2fdefc35aa635f583cbb7564dc7ca37cc3bb740 Mon Sep 17 00:00:00 2001 From: gaoyang07 <1546308416@qq.com> Date: Mon, 14 Nov 2022 14:13:47 +0800 Subject: [PATCH] remove unness assert after rebase --- mmrazor/engine/runner/evolution_search_loop.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/mmrazor/engine/runner/evolution_search_loop.py b/mmrazor/engine/runner/evolution_search_loop.py index 24d4d92cb..8edf1be3a 100644 --- a/mmrazor/engine/runner/evolution_search_loop.py +++ b/mmrazor/engine/runner/evolution_search_loop.py @@ -250,8 +250,6 @@ def sample_candidates(self) -> None: # broadcast candidates to val with multi-GPUs. broadcast_object_list(self.candidates.data) - assert init_candidates + len( - candidates_resources) == self.num_candidates def update_candidates_scores(self) -> None: """Validate candicate one by one from the candicate pool, and update