Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
b0a78091
Unverified
Commit
b0a78091
authored
May 03, 2023
by
Alara Dirik
Committed by
GitHub
May 03, 2023
Browse files
Remove redundant print statements (#23133)
remove redundant print statements
parent
e3ee45aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
tests/test_backbone_common.py
tests/test_backbone_common.py
+0
-2
No files found.
tests/test_backbone_common.py
View file @
b0a78091
...
@@ -135,8 +135,6 @@ class BackboneTesterMixin:
...
@@ -135,8 +135,6 @@ class BackboneTesterMixin:
# Verify num_features has been initialized in the backbone init
# Verify num_features has been initialized in the backbone init
self
.
assertIsNotNone
(
backbone
.
num_features
)
self
.
assertIsNotNone
(
backbone
.
num_features
)
self
.
assertTrue
(
len
(
backbone
.
channels
)
==
len
(
backbone
.
out_indices
))
self
.
assertTrue
(
len
(
backbone
.
channels
)
==
len
(
backbone
.
out_indices
))
print
(
backbone
.
stage_names
)
print
(
backbone
.
num_features
)
self
.
assertTrue
(
len
(
backbone
.
stage_names
)
==
len
(
backbone
.
num_features
))
self
.
assertTrue
(
len
(
backbone
.
stage_names
)
==
len
(
backbone
.
num_features
))
self
.
assertTrue
(
len
(
backbone
.
channels
)
<=
len
(
backbone
.
num_features
))
self
.
assertTrue
(
len
(
backbone
.
channels
)
<=
len
(
backbone
.
num_features
))
self
.
assertTrue
(
len
(
backbone
.
out_feature_channels
)
==
len
(
backbone
.
stage_names
))
self
.
assertTrue
(
len
(
backbone
.
out_feature_channels
)
==
len
(
backbone
.
stage_names
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment