[Fix] Fix unexpected modification on `image_demo.py`

pull/759/head
mzr1996 2022-04-01 16:50:23 +08:00
parent f0ee5dcb2a
commit 5a67bc8a1a
1 changed files with 0 additions and 3 deletions

View File

@ -15,9 +15,6 @@ def main():
# build the model from a config file and a checkpoint file
model = init_model(args.config, args.checkpoint, device=args.device)
for i, stage in enumerate(model.backbone.stages):
print(i, len(stage))
print(i, stage[0])
# test a single image
result = inference_model(model, args.img)
# show the results