vobecant
commited on
Commit
·
e105ab9
1
Parent(s):
004187c
Initial commit.
Browse files- segmenter_model/utils.py +1 -1
segmenter_model/utils.py
CHANGED
@@ -385,7 +385,7 @@ def inference(
|
|
385 |
with torch.no_grad():
|
386 |
for i in range(0, num_crops, WB):
|
387 |
# try:
|
388 |
-
print('Forward crop {}'.format(crops[i: i + WB].shape))
|
389 |
seg_maps[i: i + WB] = model.forward(crops[i: i + WB], decoder_features=decoder_features,
|
390 |
encoder_features=encoder_features,
|
391 |
no_upsample=no_upsample)
|
|
|
385 |
with torch.no_grad():
|
386 |
for i in range(0, num_crops, WB):
|
387 |
# try:
|
388 |
+
# print('Forward crop {}'.format(crops[i: i + WB].shape))
|
389 |
seg_maps[i: i + WB] = model.forward(crops[i: i + WB], decoder_features=decoder_features,
|
390 |
encoder_features=encoder_features,
|
391 |
no_upsample=no_upsample)
|