Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def __call__(
self.init_complexity_measure()
accum_enc_by_module = None
accum_dec_by_module = None
dec_features = None

for e, d in enumerate(tqdm(dataloader)):
features = {"org_input_size": [], "input_size": []}
Expand Down Expand Up @@ -300,7 +301,8 @@ def __call__(
del features

if (
"decoded_feature_tensor_hash" in dec_features
dec_features is not None
and "decoded_feature_tensor_hash" in dec_features
and dec_features["decoded_feature_tensor_hash"] is not None
and self.configs["nn_task_part2"].dump_features_hash
):
Expand Down
Loading