Skip to content

Commit

Permalink
ced/update_inference_and_requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-scheerlinck committed Sep 29, 2020
1 parent c0dfc8e commit 1e4fd4d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ def legacy_compatibility(args, checkpoint):
elif args.firenet_legacy:
args.legacy_norm = True
final_activation = ''
else:
return args, checkpoint
# Make compatible with Henri saved models
if not isinstance(checkpoint.get('config', None), ConfigParser) or args.e2vid or args.firenet_legacy:
checkpoint = make_henri_compatible(checkpoint, final_activation)
Expand Down
7 changes: 7 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
torch
torchvision
matplotlib
opencv-python
tqdm
pandas
h5py

0 comments on commit 1e4fd4d

Please sign in to comment.