Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
priyakasimbeg committed Nov 18, 2023
1 parent 0c7a864 commit 271412d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/modeldiffs/criteo1tb/compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def key_transform(k):
new_key = []
s_count = None
for i in k:
print(i)
print(f'in transform: {i}')
if 'Sequential' in i:
s_count = int(i.split('_')[1])
continue
Expand All @@ -34,7 +34,7 @@ def key_transform(k):
i = i.replace('weight', 'kernel')

new_key.append(i)
print(i)
print(f'out transform: {i}')
return tuple(new_key)


Expand Down
4 changes: 2 additions & 2 deletions tests/modeldiffs/criteo1tb_resnet/compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def key_transform(k):
s_count = None
print(k)
for i in k:
print(i)
print(f'in transform {i}')
if 'Sequential' in i:
s_count = int(i.split('_')[1])
continue
Expand All @@ -37,7 +37,7 @@ def key_transform(k):
i = name + '_' + str(s_count * 3 + int(count))
elif 'weight' in i:
i = i.replace('weight', 'kernel')
print(i)
print(f'out transform {i}')
new_key.append(i)
return tuple(new_key)

Expand Down

0 comments on commit 271412d

Please sign in to comment.