Your Operating system and DeepLabCut version
Please state your operating system, env, and which version of DeepLabCut you are using.
OS: Win 10
DeepLabCut Version:2.2b8
Anaconda env used: DLC-CPU
Describe the problem
I've installed DLC using gitclone last week (I've had issues installing Visual Studio, so maybe this contributed to the error). I've tried running the testscript.py, but when it prints 'create video' (line 185 in testscript.py I think), it enters an infinite loop of error messsages (the lines between 'Imported DLC' and 'Type Error' will be repeated), and from the printed output, it appears it's jumping back to the beginning of the script? This repeats unless ctrl-c is pressed. I've tried to git clone and reinstall a couple of times, but keep getting this issue.
Initializing ResNetCode output
Starting to analyze % C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-11\videos\reachingvideo1short.avi
C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-11\videos already exists!
The videos are analyzed. Now your research can truly start!
You can create labeled videos with 'create_labeled_video'
If the tracking is not satisfactory for some videos, consider expanding the training set. You can use the function 'extract_outlier_frames' to extract a few representative outlier frames.
CREATE VIDEO
Imported DLC!
On Windows/OSX tensorpack is not tested by default.
CREATING PROJECT
Project "C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-11" already exists!
Traceback (most recent call last):
File "
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 114, in _main
prepare(preparation_data)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 225, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
run_name="__mp_main__")
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\jn18421\DeepLabCut\examples\testscript.py", line 56, in
cfg = deeplabcut.auxiliaryfunctions.read_config(path_config_file)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\utils\auxiliaryfunctions.py", line 165, in read_config
path = Path(configname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 1027, in __new__
self = cls._from_parts(args, init=False)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 674, in _from_parts
drv, root, parts = self._parse_args(args)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 658, in _parse_args
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
How to Reproduce the problem
Steps to reproduce the behavior:
Thank you for any help with this issue! And thank you for providing this toolbox for the general research public! :)
thanks, @meyereli I heard recently 1 user had this on windows as well; I cannot reproduce on macos or ubuntu. @AlexEMG any thoughts?
Just to confirm, this is the latest code git cloned, and the package is also locally imported, or your using pip, i.e. can you run import deeplabcut deeplabcut.__file__ ?
Thanks for replying so promptly!
Yes, it should be the latest, I git cloned it last week (Wed or Thurs). I initally tried to use the environment yaml, but got the scalecrop error (Issue #869, Invalid augmenter type, scalecrop), and then used 'pip install git+https://github.com/DeepLabCut/DeepLabCut.git' to install.
running import deeplabcut deeplabcut.__file__ returns:
'C:\\Users\\jn18421\\Anaconda3\\envs\\DLC-CPU\\lib\\site-packages\\deeplabcut\\__init__.py'
Thank you! :)
@meyereli, could you retry running the test script after deleting the test folder previously created?
@jeylau, I always delete the test folder from previous runs of the testscript (folder: TEST-Alex-Date). When I don't, the script fails immediatly, and only displays the error message once: "Project "C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-11" already exists!"
When I delete the folder from previous runs, I encounter the issue above (the testscript runs the first training steps, and then fails after printing 'Create Video', and then goes into repeating the error messages endlessly).
Would it be helpful for you to have the complete terminal output from running testscript.py?
Thank you!
@meyereli, yes please 馃槉.
@jeylau no problem :) Brace for console output:
(DLC-CPU) C:\WINDOWS\system32>cd /d "C:\Users\jn18421\DeepLabCut\examples"
(DLC-CPU) C:\Users\jn18421\DeepLabCut\examples>python testscript.py
Imported DLC!
On Windows/OSX tensorpack is not tested by default.
CREATING PROJECT
Created "C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18\videos"
Created "C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18\labeled-data"
Created "C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18\training-datasets"
Created "C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18\dlc-models"
Copying the videos
C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18\videos\reachingvideo1.avi
Generated "C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18\config.yaml"
A new project with name TEST-Alex-2020-11-18 is created at C:\Users\jn18421\DeepLabCut\examples and a configurable file (config.yaml) is stored there. Change the parameters in this file to adapt to your project's needs.
Once you have changed the configuration file, use the function 'extract_frames' to select frames for labeling.
. [OPTIONAL] Use the function 'add_new_videos' to add new videos to your project (at any stage).
EXTRACTING FRAMES
Config file read successfully.
Extracting frames based on kmeans ...
Kmeans-quantization based extracting of frames from 0.0 seconds to 8.53 seconds.
Extracting and downsampling... 256 frames from the video.
256it [00:01, 132.90it/s]
Kmeans clustering ... (this might take a while)
Frames were successfully extracted, for the videos of interest.
You can now label the frames using the function 'label_frames' (if you extracted enough frames for all videos).
CREATING-SOME LABELS FOR THE FRAMES
Plot labels...
Creating images with labels by Alex.
0%| | 0/5 [00:00<?, ?it/s]C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\utils\visualization.py:305: FutureWarning: Pass-through of possibly RGB images in gray2rgb is deprecated. In version 0.19, input arrays will always be considered grayscale, even if the last dimension has length 3 or 4. To prevent this warning and ensure compatibility with future versions, detect RGB images outside of this function.
im.set_data(color.gray2rgb(ic[i]))
100%|鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 5/5 [00:00<00:00, 6.89it/s]
If all the labels are ok, then use the function 'create_training_dataset' to create the training dataset!
CREATING TRAININGSET
The training dataset is successfully created. Use the function 'train_network' to start training. Happy training!
CHANGING training parameters to end quickly!
TRAIN
Selecting single-animal trainer
Config:
{'all_joints': [[0], [1], [2], [3]],
'all_joints_names': ['bodypart1', 'bodypart2', 'bodypart3', 'objectA'],
'batch_size': 1,
'crop_pad': 0,
'cropratio': 0.4,
'dataset': 'training-datasets\\iteration-0\\UnaugmentedDataSet_TESTNov18\\TEST_Alex80shuffle1.mat',
'dataset_type': 'default',
'deterministic': False,
'display_iters': 2,
'fg_fraction': 0.25,
'global_scale': 0.8,
'init_weights': 'C:\\Users\\jn18421\\Anaconda3\\envs\\DLC-CPU\\lib\\site-packages\\deeplabcut\\pose_estimation_tensorflow\\models\\pretrained\\resnet_v1_50.ckpt',
'intermediate_supervision': False,
'intermediate_supervision_layer': 12,
'location_refinement': True,
'locref_huber_loss': True,
'locref_loss_weight': 0.05,
'locref_stdev': 7.2801,
'log_dir': 'log',
'max_input_size': 1500,
'mean_pixel': [123.68, 116.779, 103.939],
'metadataset': 'training-datasets\\iteration-0\\UnaugmentedDataSet_TESTNov18\\Documentation_data-TEST_80shuffle1.pickle',
'min_input_size': 64,
'mirror': False,
'multi_step': [[0.001, 5]],
'net_type': 'resnet_50',
'num_joints': 4,
'optimizer': 'sgd',
'pairwise_huber_loss': False,
'pairwise_predict': False,
'partaffinityfield_predict': False,
'pos_dist_thresh': 17,
'project_path': 'C:\\Users\\jn18421\\DeepLabCut\\examples\\TEST-Alex-2020-11-18',
'regularize': False,
'rotation': 25,
'rotratio': 0.4,
'save_iters': 5,
'scale_jitter_lo': 0.5,
'scale_jitter_up': 1.25,
'scoremap_dir': 'test',
'shuffle': True,
'snapshot_prefix': 'C:\\Users\\jn18421\\DeepLabCut\\examples\\TEST-Alex-2020-11-18\\dlc-models\\iteration-0\\TESTNov18-trainset80shuffle1\\train\\snapshot',
'stride': 8.0,
'weigh_negatives': False,
'weigh_only_present_joints': False,
'weigh_part_predictions': False,
'weight_decay': 0.0001}
Starting with imgaug pose-dataset loader (=default).
Batch Size is 1
Initializing ResNet
Loading ImageNet-pretrained resnet_50
2020-11-18 13:02:02.471758: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
Training parameter:
{'stride': 8.0, 'weigh_part_predictions': False, 'weigh_negatives': False, 'fg_fraction': 0.25, 'mean_pixel': [123.68, 116.779, 103.939], 'shuffle': True, 'snapshot_prefix': 'C:\\Users\\jn18421\\DeepLabCut\\examples\\TEST-Alex-2020-11-18\\dlc-models\\iteration-0\\TESTNov18-trainset80shuffle1\\train\\snapshot', 'log_dir': 'log', 'global_scale': 0.8, 'location_refinement': True, 'locref_stdev': 7.2801, 'locref_loss_weight': 0.05, 'locref_huber_loss': True, 'optimizer': 'sgd', 'intermediate_supervision': False, 'intermediate_supervision_layer': 12, 'regularize': False, 'weight_decay': 0.0001, 'crop_pad': 0, 'scoremap_dir': 'test', 'batch_size': 1, 'dataset_type': 'default', 'deterministic': False, 'mirror': False, 'pairwise_huber_loss': False, 'weigh_only_present_joints': False, 'partaffinityfield_predict': False, 'pairwise_predict': False, 'all_joints': [[0], [1], [2], [3]], 'all_joints_names': ['bodypart1', 'bodypart2', 'bodypart3', 'objectA'], 'cropratio': 0.4, 'dataset': 'training-datasets\\iteration-0\\UnaugmentedDataSet_TESTNov18\\TEST_Alex80shuffle1.mat', 'display_iters': 2, 'init_weights': 'C:\\Users\\jn18421\\Anaconda3\\envs\\DLC-CPU\\lib\\site-packages\\deeplabcut\\pose_estimation_tensorflow\\models\\pretrained\\resnet_v1_50.ckpt', 'max_input_size': 1500, 'metadataset': 'training-datasets\\iteration-0\\UnaugmentedDataSet_TESTNov18\\Documentation_data-TEST_80shuffle1.pickle', 'min_input_size': 64, 'multi_step': [[0.001, 5]], 'net_type': 'resnet_50', 'num_joints': 4, 'pos_dist_thresh': 17, 'project_path': 'C:\\Users\\jn18421\\DeepLabCut\\examples\\TEST-Alex-2020-11-18', 'rotation': 25, 'rotratio': 0.4, 'save_iters': 5, 'scale_jitter_lo': 0.5, 'scale_jitter_up': 1.25, 'covering': True, 'elastic_transform': True, 'motion_blur': True, 'motion_blur_params': {'k': 7, 'angle': [-90, 90]}}
Starting training....
iteration: 2 loss: 1.2050 lr: 0.001
iteration: 4 loss: 0.5981 lr: 0.001
2020-11-18 13:03:03.773013: W tensorflow/core/kernels/queue_base.cc:277] _0_fifo_queue: Skipping cancelled enqueue attempt with queue not closed
Exception in thread Thread-2:
Traceback (most recent call last):
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\python\client\session.py", line 1334, in _do_call
return fn(*args)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\python\client\session.py", line 1319, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\python\client\session.py", line 1407, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.CancelledError: Enqueue operation was cancelled
[[{{node fifo_queue_enqueue}}]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\threading.py", line 926, in _bootstrap_inner
self.run()
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\pose_estimation_tensorflow\train.py", line 91, in load_and_enqueue
sess.run(enqueue_op, feed_dict=food)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\python\client\session.py", line 929, in run
run_metadata_ptr)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\python\client\session.py", line 1152, in _run
feed_dict_tensor, options, run_metadata)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\python\client\session.py", line 1328, in _do_run
run_metadata)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\python\client\session.py", line 1348, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.CancelledError: Enqueue operation was cancelled
[[node fifo_queue_enqueue (defined at C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\pose_estimation_tensorflow\train.py:77) ]]
Caused by op 'fifo_queue_enqueue', defined at:
File "testscript.py", line 136, in <module>
deeplabcut.train_network(path_config_file)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\pose_estimation_tensorflow\training.py", line 189, in train_network
allow_growth=allow_growth,
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\pose_estimation_tensorflow\train.py", line 172, in train
batch, enqueue_op, placeholders = setup_preloading(batch_spec)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\pose_estimation_tensorflow\train.py", line 77, in setup_preloading
enqueue_op = q.enqueue(placeholders_list)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\python\ops\data_flow_ops.py", line 345, in enqueue
self._queue_ref, vals, name=scope)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\python\ops\gen_data_flow_ops.py", line 4157, in queue_enqueue_v2
timeout_ms=timeout_ms, name=name)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 788, in _apply_op_helper
op_def=op_def)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\python\util\deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\python\framework\ops.py", line 3300, in create_op
op_def=op_def)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\python\framework\ops.py", line 1801, in __init__
self._traceback = tf_stack.extract_stack()
CancelledError (see above for traceback): Enqueue operation was cancelled
[[node fifo_queue_enqueue (defined at C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\pose_estimation_tensorflow\train.py:77) ]]
The network is now trained and ready to evaluate. Use the function 'evaluate_network' to evaluate the network.
EVALUATE
Config:
{'all_joints': [[0], [1], [2], [3]],
'all_joints_names': ['bodypart1', 'bodypart2', 'bodypart3', 'objectA'],
'batch_size': 1,
'crop_pad': 0,
'dataset': 'training-datasets\\iteration-0\\UnaugmentedDataSet_TESTNov18\\TEST_Alex80shuffle1.mat',
'dataset_type': 'imgaug',
'deterministic': False,
'fg_fraction': 0.25,
'global_scale': 0.8,
'init_weights': 'C:\\Users\\jn18421\\Anaconda3\\envs\\DLC-CPU\\lib\\site-packages\\deeplabcut\\pose_estimation_tensorflow\\models\\pretrained\\resnet_v1_50.ckpt',
'intermediate_supervision': False,
'intermediate_supervision_layer': 12,
'location_refinement': True,
'locref_huber_loss': True,
'locref_loss_weight': 1.0,
'locref_stdev': 7.2801,
'log_dir': 'log',
'mean_pixel': [123.68, 116.779, 103.939],
'mirror': False,
'net_type': 'resnet_50',
'num_joints': 4,
'optimizer': 'sgd',
'pairwise_huber_loss': True,
'pairwise_predict': False,
'partaffinityfield_predict': False,
'regularize': False,
'scoremap_dir': 'test',
'shuffle': True,
'snapshot_prefix': 'C:\\Users\\jn18421\\DeepLabCut\\examples\\TEST-Alex-2020-11-18\\dlc-models\\iteration-0\\TESTNov18-trainset80shuffle1\\test\\snapshot',
'stride': 8.0,
'weigh_negatives': False,
'weigh_only_present_joints': False,
'weigh_part_predictions': False,
'weight_decay': 0.0001}
Running DLC_resnet50_TESTNov18shuffle1_5 with # of trainingiterations: 5
Initializing ResNet
Analyzing data...
5it [00:10, 2.05s/it]
Done and results stored for snapshot: snapshot-5
Results for 5 training iterations: 80 1 train error: 389.55 pixels. Test error: 436.84 pixels.
With pcutoff of 0.01 train error: 389.55 pixels. Test error: 436.84 pixels
Thereby, the errors are given by the average distances between the labels by DLC and the scorer.
Plotting...
100%|鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 5/5 [00:01<00:00, 3.69it/s]
The network is evaluated and the results are stored in the subdirectory 'evaluation_results'.
If it generalizes well, choose the best model for prediction and update the config file with the appropriate index for the 'snapshotindex'.
Use the function 'analyze_video' to make predictions on new videos.
Otherwise consider retraining the network (see DeepLabCut workflow Fig 2)
CUT SHORT VIDEO AND ANALYZE (with dynamic cropping!)
ffmpeg version 2020-10-31-git-3da35b7cc7-full_build-www.gyan.dev Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 10.2.0 (Rev3, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 56. 60.100 / 56. 60.100
libavcodec 58.112.100 / 58.112.100
libavformat 58. 64.100 / 58. 64.100
libavdevice 58. 11.102 / 58. 11.102
libavfilter 7. 88.100 / 7. 88.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
Input #0, avi, from 'C:\Users\jn18421\DeepLabCut\examples\Reaching-Mackenzie-2018-08-30\videos\reachingvideo1.avi':
Duration: 00:00:08.53, start: 0.000000, bitrate: 12642 kb/s
Stream #0:0: Video: mjpeg (Baseline) (MJPG / 0x47504A4D), yuvj420p(pc, bt470bg/unknown/unknown), 832x747 [SAR 1:1 DAR 832:747], 12682 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
Metadata:
title : ImageJ AVI
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
[swscaler @ 0000016d4c7ca300] deprecated pixel format used, make sure you did set range correctly
Output #0, avi, to 'C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18\videos\reachingvideo1short.avi':
Metadata:
ISFT : Lavf58.64.100
Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p(tv, bt470bg/unknown/unknown, progressive), 832x747 [SAR 1:1 DAR 832:747], q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc
Metadata:
title : ImageJ AVI
encoder : Lavc58.112.100 mpeg4
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
frame= 30 fps=0.0 q=31.0 Lsize= 240kB time=00:00:01.00 bitrate=1964.0kbits/s speed=4.89x
video:233kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.730887%
Config:
{'all_joints': [[0], [1], [2], [3]],
'all_joints_names': ['bodypart1', 'bodypart2', 'bodypart3', 'objectA'],
'batch_size': 1,
'crop_pad': 0,
'dataset': 'training-datasets\\iteration-0\\UnaugmentedDataSet_TESTNov18\\TEST_Alex80shuffle1.mat',
'dataset_type': 'imgaug',
'deterministic': False,
'fg_fraction': 0.25,
'global_scale': 0.8,
'init_weights': 'C:\\Users\\jn18421\\Anaconda3\\envs\\DLC-CPU\\lib\\site-packages\\deeplabcut\\pose_estimation_tensorflow\\models\\pretrained\\resnet_v1_50.ckpt',
'intermediate_supervision': False,
'intermediate_supervision_layer': 12,
'location_refinement': True,
'locref_huber_loss': True,
'locref_loss_weight': 1.0,
'locref_stdev': 7.2801,
'log_dir': 'log',
'mean_pixel': [123.68, 116.779, 103.939],
'mirror': False,
'net_type': 'resnet_50',
'num_joints': 4,
'optimizer': 'sgd',
'pairwise_huber_loss': True,
'pairwise_predict': False,
'partaffinityfield_predict': False,
'regularize': False,
'scoremap_dir': 'test',
'shuffle': True,
'snapshot_prefix': 'C:\\Users\\jn18421\\DeepLabCut\\examples\\TEST-Alex-2020-11-18\\dlc-models\\iteration-0\\TESTNov18-trainset80shuffle1\\test\\snapshot',
'stride': 8.0,
'weigh_negatives': False,
'weigh_only_present_joints': False,
'weigh_part_predictions': False,
'weight_decay': 0.0001}
Using snapshot-5 for model C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18\dlc-models\iteration-0\TESTNov18-trainset80shuffle1
Starting analysis in dynamic cropping mode with parameters: (True, 0.1, 5)
Switching batchsize to 1, num_outputs (per animal) to 1 and TFGPUinference to False (all these features are not supported in this mode).
Initializing ResNet
Starting to analyze % C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18\videos\reachingvideo1short.avi
C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18\videos already exists!
Loading C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18\videos\reachingvideo1short.avi
Duration of video [s]: 1.0 , recorded with 30.0 fps!
Overall # of frames: 30 found with (before cropping) frame dimensions: 832 747
Starting to extract posture
40it [00:05, 7.90it/s]
Saving results in C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18\videos...
Saving csv poses!
The videos are analyzed. Now your research can truly start!
You can create labeled videos with 'create_labeled_video'
If the tracking is not satisfactory for some videos, consider expanding the training set. You can use the function 'extract_outlier_frames' to extract a few representative outlier frames.
analyze again...
Config:
{'all_joints': [[0], [1], [2], [3]],
'all_joints_names': ['bodypart1', 'bodypart2', 'bodypart3', 'objectA'],
'batch_size': 1,
'crop_pad': 0,
'dataset': 'training-datasets\\iteration-0\\UnaugmentedDataSet_TESTNov18\\TEST_Alex80shuffle1.mat',
'dataset_type': 'imgaug',
'deterministic': False,
'fg_fraction': 0.25,
'global_scale': 0.8,
'init_weights': 'C:\\Users\\jn18421\\Anaconda3\\envs\\DLC-CPU\\lib\\site-packages\\deeplabcut\\pose_estimation_tensorflow\\models\\pretrained\\resnet_v1_50.ckpt',
'intermediate_supervision': False,
'intermediate_supervision_layer': 12,
'location_refinement': True,
'locref_huber_loss': True,
'locref_loss_weight': 1.0,
'locref_stdev': 7.2801,
'log_dir': 'log',
'mean_pixel': [123.68, 116.779, 103.939],
'mirror': False,
'net_type': 'resnet_50',
'num_joints': 4,
'optimizer': 'sgd',
'pairwise_huber_loss': True,
'pairwise_predict': False,
'partaffinityfield_predict': False,
'regularize': False,
'scoremap_dir': 'test',
'shuffle': True,
'snapshot_prefix': 'C:\\Users\\jn18421\\DeepLabCut\\examples\\TEST-Alex-2020-11-18\\dlc-models\\iteration-0\\TESTNov18-trainset80shuffle1\\test\\snapshot',
'stride': 8.0,
'weigh_negatives': False,
'weigh_only_present_joints': False,
'weigh_part_predictions': False,
'weight_decay': 0.0001}
Using snapshot-5 for model C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18\dlc-models\iteration-0\TESTNov18-trainset80shuffle1
Initializing ResNet
Starting to analyze % C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18\videos\reachingvideo1short.avi
C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18\videos already exists!
The videos are analyzed. Now your research can truly start!
You can create labeled videos with 'create_labeled_video'
If the tracking is not satisfactory for some videos, consider expanding the training set. You can use the function 'extract_outlier_frames' to extract a few representative outlier frames.
CREATE VIDEO
Imported DLC!
On Windows/OSX tensorpack is not tested by default.
CREATING PROJECT
Project "C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18" already exists!
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 114, in _main
prepare(preparation_data)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 225, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
run_name="__mp_main__")
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\jn18421\DeepLabCut\examples\testscript.py", line 56, in <module>
cfg = deeplabcut.auxiliaryfunctions.read_config(path_config_file)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\utils\auxiliaryfunctions.py", line 165, in read_config
path = Path(configname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 1027, in __new__
self = cls._from_parts(args, init=False)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 674, in _from_parts
drv, root, parts = self._parse_args(args)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 658, in _parse_args
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
Imported DLC!
On Windows/OSX tensorpack is not tested by default.
CREATING PROJECT
Project "C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18" already exists!
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 114, in _main
prepare(preparation_data)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 225, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
run_name="__mp_main__")
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\jn18421\DeepLabCut\examples\testscript.py", line 56, in <module>
cfg = deeplabcut.auxiliaryfunctions.read_config(path_config_file)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\utils\auxiliaryfunctions.py", line 165, in read_config
path = Path(configname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 1027, in __new__
self = cls._from_parts(args, init=False)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 674, in _from_parts
drv, root, parts = self._parse_args(args)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 658, in _parse_args
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
Imported DLC!
On Windows/OSX tensorpack is not tested by default.
CREATING PROJECT
Project "C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18" already exists!
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 114, in _main
prepare(preparation_data)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 225, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
run_name="__mp_main__")
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\jn18421\DeepLabCut\examples\testscript.py", line 56, in <module>
cfg = deeplabcut.auxiliaryfunctions.read_config(path_config_file)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\utils\auxiliaryfunctions.py", line 165, in read_config
path = Path(configname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 1027, in __new__
self = cls._from_parts(args, init=False)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 674, in _from_parts
drv, root, parts = self._parse_args(args)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 658, in _parse_args
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
Imported DLC!
On Windows/OSX tensorpack is not tested by default.
CREATING PROJECT
Project "C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18" already exists!
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 114, in _main
prepare(preparation_data)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 225, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
run_name="__mp_main__")
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\jn18421\DeepLabCut\examples\testscript.py", line 56, in <module>
cfg = deeplabcut.auxiliaryfunctions.read_config(path_config_file)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\utils\auxiliaryfunctions.py", line 165, in read_config
path = Path(configname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 1027, in __new__
self = cls._from_parts(args, init=False)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 674, in _from_parts
drv, root, parts = self._parse_args(args)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 658, in _parse_args
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
Imported DLC!
On Windows/OSX tensorpack is not tested by default.
CREATING PROJECT
Project "C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18" already exists!
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 114, in _main
prepare(preparation_data)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 225, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
run_name="__mp_main__")
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\jn18421\DeepLabCut\examples\testscript.py", line 56, in <module>
cfg = deeplabcut.auxiliaryfunctions.read_config(path_config_file)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\utils\auxiliaryfunctions.py", line 165, in read_config
path = Path(configname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 1027, in __new__
self = cls._from_parts(args, init=False)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 674, in _from_parts
drv, root, parts = self._parse_args(args)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 658, in _parse_args
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
Imported DLC!
On Windows/OSX tensorpack is not tested by default.
CREATING PROJECT
Project "C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18" already exists!
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 114, in _main
prepare(preparation_data)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 225, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
run_name="__mp_main__")
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\jn18421\DeepLabCut\examples\testscript.py", line 56, in <module>
cfg = deeplabcut.auxiliaryfunctions.read_config(path_config_file)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\utils\auxiliaryfunctions.py", line 165, in read_config
path = Path(configname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 1027, in __new__
self = cls._from_parts(args, init=False)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 674, in _from_parts
drv, root, parts = self._parse_args(args)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 658, in _parse_args
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
Imported DLC!
On Windows/OSX tensorpack is not tested by default.
CREATING PROJECT
Project "C:\Users\jn18421\DeepLabCut\examples\TEST-Alex-2020-11-18" already exists!
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 114, in _main
prepare(preparation_data)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 225, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
run_name="__mp_main__")
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\jn18421\DeepLabCut\examples\testscript.py", line 56, in <module>
cfg = deeplabcut.auxiliaryfunctions.read_config(path_config_file)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\utils\auxiliaryfunctions.py", line 165, in read_config
path = Path(configname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 1027, in __new__
self = cls._from_parts(args, init=False)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 674, in _from_parts
drv, root, parts = self._parse_args(args)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\pathlib.py", line 658, in _parse_args
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 114, in _main
prepare(preparation_data)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 225, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
run_name="__mp_main__")
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\jn18421\DeepLabCut\examples\testscript.py", line 19, in <module>
import os, subprocess, deeplabcut
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\__init__.py", line 38, in <module>
from deeplabcut import generate_training_dataset
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\generate_training_dataset\__init__.py", line 18, in <module>
from deeplabcut.generate_training_dataset.labeling_toolbox import *
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\generate_training_dataset\labeling_toolbox.py", line 21, in <module>
import matplotlib.pyplot as plt
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\matplotlib\pyplot.py", line 40, in <module>
from matplotlib.figure import Figure, figaspect
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\matplotlib\figure.py", line 20, in <module>
from matplotlib import backends, docstring, projections
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\matplotlib\projections\__init__.py", line 1, in <module>
from .. import axes, cbook
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\matplotlib\axes\__init__.py", line 1, in <module>
from ._subplots import *
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\matplotlib\axes\_subplots.py", line 6, in <module>
from matplotlib.axes._axes import Axes
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\matplotlib\axes\_axes.py", line 97, in <module>
class Axes(_AxesBase):
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\matplotlib\axes\_axes.py", line 1062, in Axes
label='', **kwargs):
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\matplotlib\__init__.py", line 1583, in _preprocess_data
new_sig = sig.replace(parameters=params)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\inspect.py", line 2856, in replace
return_annotation=return_annotation)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\inspect.py", line 2750, in __init__
def __init__(self, parameters=None, *, return_annotation=_empty,
KeyboardInterrupt
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 114, in _main
prepare(preparation_data)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 225, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
run_name="__mp_main__")
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\jn18421\DeepLabCut\examples\testscript.py", line 19, in <module>
import os, subprocess, deeplabcut
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\__init__.py", line 14, in <module>
import tensorflow as tf
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 37, in <module>
from tensorflow.python import pywrap_dlopen_global_flags
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 724, in exec_module
File "<frozen importlib._bootstrap_external>", line 854, in get_code
File "<frozen importlib._bootstrap>", line 222, in _verbose_message
KeyboardInterrupt
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 114, in _main
prepare(preparation_data)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 225, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
run_name="__mp_main__")
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\jn18421\DeepLabCut\examples\testscript.py", line 19, in <module>
import os, subprocess, deeplabcut
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\__init__.py", line 14, in <module>
import tensorflow as tf
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\python\__init__.py", line 52, in <module>
from tensorflow.core.framework.graph_pb2 import *
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\core\framework\graph_pb2.py", line 6, in <module>
from google.protobuf import descriptor as _descriptor
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\google\protobuf\__init__.py", line 37, in <module>
__import__('pkg_resources').declare_namespace(__name__)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\pkg_resources\__init__.py", line 76, in <module>
__import__('pkg_resources.extern.packaging.specifiers')
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\pkg_resources\_vendor\packaging\specifiers.py", line 11, in <module>
from ._compat import string_types, with_metaclass
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 151, in __exit__
KeyboardInterrupt
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 114, in _main
prepare(preparation_data)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 225, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
run_name="__mp_main__")
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\jn18421\DeepLabCut\examples\testscript.py", line 19, in <module>
import os, subprocess, deeplabcut
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\__init__.py", line 14, in <module>
import tensorflow as tf
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\python\__init__.py", line 52, in <module>
from tensorflow.core.framework.graph_pb2 import *
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\core\framework\graph_pb2.py", line 6, in <module>
from google.protobuf import descriptor as _descriptor
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\google\protobuf\__init__.py", line 37, in <module>
__import__('pkg_resources').declare_namespace(__name__)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\pkg_resources\__init__.py", line 77, in <module>
__import__('pkg_resources.extern.packaging.requirements')
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\pkg_resources\_vendor\packaging\requirements.py", line 9, in <module>
from pkg_resources.extern.pyparsing import stringStart, stringEnd, originalTextFor, ParseException
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\pkg_resources\extern\__init__.py", line 43, in load_module
__import__(extant)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\pkg_resources\_vendor\pyparsing.py", line 5399, in <module>
class pyparsing_common:
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\pkg_resources\_vendor\pyparsing.py", line 5662, in pyparsing_common
+ Optional( White(" \t") ) ) ).streamline().setName("commaItem")
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\pkg_resources\_vendor\pyparsing.py", line 2654, in __init__
super(Word,self).__init__()
KeyboardInterrupt
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 114, in _main
prepare(preparation_data)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 225, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
run_name="__mp_main__")
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\jn18421\DeepLabCut\examples\testscript.py", line 19, in <module>
import os, subprocess, deeplabcut
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\deeplabcut\__init__.py", line 14, in <module>
import tensorflow as tf
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\python\__init__.py", line 96, in <module>
from tensorflow.python.profiler import profiler
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\python\profiler\profiler.py", line 22, in <module>
from tensorflow.core.profiler.tfprof_log_pb2 import OpLogProto
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\tensorflow\core\profiler\tfprof_log_pb2.py", line 1352, in <module>
__module__ = 'tensorflow.core.profiler.tfprof_log_pb2'
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\google\protobuf\internal\python_message.py", line 196, in __init__
_AttachFieldHelpers(cls, field)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\google\protobuf\internal\python_message.py", line 370, in _AttachFieldHelpers
False)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\google\protobuf\internal\python_message.py", line 330, in AddDecoder
tag_bytes = encoder.TagBytes(field_descriptor.number, wiretype)
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\google\protobuf\internal\encoder.py", line 424, in TagBytes
_VarintBytes(wire_format.PackTag(field_number, wire_type)))
File "C:\Users\jn18421\Anaconda3\envs\DLC-CPU\lib\site-packages\google\protobuf\internal\encoder.py", line 417, in _VarintBytes
return b"".join(pieces)
KeyboardInterrupt
forrtl: error (200): program aborting due to control-C event
Image PC Routine Line Source
libifcoremd.dll 00007FFEEAE63B58 Unknown Unknown Unknown
KERNELBASE.dll 00007FFF68C99D93 Unknown Unknown Unknown
KERNEL32.DLL 00007FFF690E7034 Unknown Unknown Unknown
ntdll.dll 00007FFF6AFFCEC1 Unknown Unknown Unknown
(DLC-CPU) C:\Users\jn18421\DeepLabCut\examples>
@meyereli can you go here: C:\Users\jn18421\DeepLabCut\ and run ./reinstall.sh
Hi there - I am also encountering this same issue and tried to run ./reinstall.sh. However, I ran into the following error:
Successfully uninstalled deeplabcut-2.1.9
./reinstall.sh: line 2: /c/Users/freschlin/AppData/Local/Microsoft/WindowsApps/python3: Permission denied
WARNING: Requirement 'dist/deeplabcut-2.1.9-py3-none-any.whl' looks like a filename, but the file does not exist
Processing c:\users\freschlin\deeplabcut\dist\deeplabcut-2.1.9-py3-none-any.whl
ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: 'C:\Users\freschlin\DeepLabCut\dist\deeplabcut-2.1.9-py3-none-any.whl'
Do you have any advice on how to address this? It successfully uninstalls DeepLabCut, but it seems that line 2 of the .sh file was unable to? Then it's unable to find the .whl file.
Thanks!
Oh right, for Windows you鈥檇 need to edit that file to have windows styled paths; you can open it in any text editor
Thank you @MMathisLab for your reply! :) Unfortunately, I can't run the third line in the script (pip install dist/deeplabcut-2.2b8-py3-none-any.whl) either as I can't find this file? Where would it be expected? I'm sorry, I'm not familar with UNIX style file paths (and google hasn't been helpful in this case), so not sure what the 'dist' equivalent for Windows is expected to be, in order to reformat it... Thanks again!
@AlexEMG - maybe you can chip in (i'm not a windows expert :)