Spaces:
Build error
Build error
got rid of print statements
Browse files
model_utils/efficientnet_config.py
CHANGED
|
@@ -321,16 +321,16 @@ class EfficientNetPreTrained(PreTrainedModel):
|
|
| 321 |
try:
|
| 322 |
module.weight.data.normal_(mean=0.0)
|
| 323 |
except Exception as e:
|
| 324 |
-
print('weight 1', e)
|
| 325 |
try:
|
| 326 |
module.weight.data.fill_(1.0)
|
| 327 |
except Exception as e:
|
| 328 |
-
print('weight 2', e)
|
| 329 |
_ = None
|
| 330 |
try:
|
| 331 |
module.bias.data.zero_()
|
| 332 |
except AttributeError as e:
|
| 333 |
-
print('bias', e)
|
| 334 |
_ = None
|
| 335 |
|
| 336 |
|
|
|
|
| 321 |
try:
|
| 322 |
module.weight.data.normal_(mean=0.0)
|
| 323 |
except Exception as e:
|
| 324 |
+
# print('weight 1', e)
|
| 325 |
try:
|
| 326 |
module.weight.data.fill_(1.0)
|
| 327 |
except Exception as e:
|
| 328 |
+
# print('weight 2', e)
|
| 329 |
_ = None
|
| 330 |
try:
|
| 331 |
module.bias.data.zero_()
|
| 332 |
except AttributeError as e:
|
| 333 |
+
# print('bias', e)
|
| 334 |
_ = None
|
| 335 |
|
| 336 |
|