still does not work
Overwriting cropping parameters: (0, 640, 277, 624)
These are used for all videos, but won’t be save to the cfg file.
Using snapshot-1000 for model C:\Users\QIAOLING\Desktop\OFT_11-Qiaoling-2020-04-
08\dlc-models\iteration-0\OFT_11Apr8-trainset95shuffle1
Initializing ResNet
INFO:tensorflow:Restoring parameters from C:\Users\QIAOLING\Desktop\OFT_11-Qiaol
ing-2020-04-08\dlc-models\iteration-0\OFT_11Apr8-trainset95shuffle1\train\snapsh
ot-1000
INFO:tensorflow:Restoring parameters from C:\Users\QIAOLING\Desktop\OFT_11-Qiaol
ing-2020-04-08\dlc-models\iteration-0\OFT_11Apr8-trainset95shuffle1\train\snapsh
ot-1000
Starting to analyze % C:\Users\QIAOLING\Videos\OFT_11_3.avi
Loading C:\Users\QIAOLING\Videos\OFT_11_3.avi
Duration of video [s]: 30.04 , recorded with 25.0 fps!
Overall # of frames: 751 found with (before cropping) frame dimensions: 928 5
76
Starting to extract posture
Cropping based on the x1 = 0 x2 = 640 y1 = 277 y2 = 624. You can adjust the crop
ping coordinates in the config.yaml file.
Traceback (most recent call last):
File “C:\Users\QIAOLING\Anaconda3\envs\dlc-windowsCPU\lib\site-packages\deepla
bcut\gui\analyze_videos.py”, line 264, in analyze_videos
destfolder=self.destfolder, crop=crop, dynamic=dynamic)
File “C:\Users\QIAOLING\Anaconda3\envs\dlc-windowsCPU\lib\site-packages\deepla
bcut\pose_estimation_tensorflow\predict_videos.py”, line 220, in analyze_videos
DLCscorer=AnalyzeVideo(video,DLCscorer,DLCscorerlegacy,trainFraction,cfg,dlc
_cfg,sess,inputs, outputs,pdindex,save_as_csv, destfolder,TFGPUinference,dynamic
)
File “C:\Users\QIAOLING\Anaconda3\envs\dlc-windowsCPU\lib\site-packages\deepla
bcut\pose_estimation_tensorflow\predict_videos.py”, line 497, in AnalyzeVideo
PredictedData,nframes=GetPoseF_GTF(cfg,dlc_cfg, sess, inputs, outputs,cap,nf
rames,int(dlc_cfg[“batch_size”]))
File “C:\Users\QIAOLING\Anaconda3\envs\dlc-windowsCPU\lib\site-packages\deepla
bcut\pose_estimation_tensorflow\predict_videos.py”, line 358, in GetPoseF_GTF
ny,nx=checkcropping(cfg,cap)
File “C:\Users\QIAOLING\Anaconda3\envs\dlc-windowsCPU\lib\site-packages\deepla
bcut\pose_estimation_tensorflow\predict_videos.py”, line 241, in checkcropping
raise Exception(‘Please check the boundary of cropping!’)
Exception: Please check the boundary of cropping!
If you suspect this is an IPython 7.12.0 bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at ipython-dev@python.org
You can print a more detailed traceback right now with “%tb”, or use “%debug”
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True