Skip to content

Commit

Permalink
Added return value
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexEMG committed Dec 12, 2019
1 parent 901f89d commit 5f5de75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deeplabcut/pose_estimation_tensorflow/predict_videos.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ def analyze_videos(config,videos, videotype='avi', shuffle=1, trainingsetindex=0
return DLCscorer #note: this is either DLCscorer or DLCscorerlegacy depending on what was used!
else:
print("No video/s found. Please check your path!")
return DLCscorer

def checkcropping(cfg,cap):
print("Cropping based on the x1 = %s x2 = %s y1 = %s y2 = %s. You can adjust the cropping coordinates in the config.yaml file." %(cfg['x1'], cfg['x2'],cfg['y1'], cfg['y2']))
Expand Down

0 comments on commit 5f5de75

Please sign in to comment.