Evaluate network: file not found error

Hi, i ran evaluate network option through DLC gui and end up getting this error
Ran the codes on
DLC ver = 2.2b7
windows 10
DLC-CPU env
Anaconda

error log:
Config:
{‘all_joints’: [[0], [1], [2], [3], [4], [5], [6]],
‘all_joints_names’: [‘nose’,
‘r_ear’,
‘l_ear’,
‘spine1’,
‘spine2’,
‘tail1’,
‘tail2’],
‘batch_size’: 8,
‘bottomheight’: 400,
‘crop’: True,
‘crop_pad’: 0,
‘cropratio’: 0.4,
‘dataset’: ‘training-datasets\iteration-0\UnaugmentedDataSet_ICR_free_interact_trainingset1Aug23\ICR_free_interact_trainingset1_alok95shuffle1.pickle’,
‘dataset_type’: ‘multi-animal-imgaug’,
‘deterministic’: False,
‘display_iters’: 500,
‘fg_fraction’: 0.25,
‘global_scale’: 0.8,
‘init_weights’: ‘C:\ProgramData\Anaconda3\lib\site-packages\deeplabcut\pose_estimation_tensorflow\models\pretrained\resnet_v1_50.ckpt’,
‘intermediate_supervision’: False,
‘intermediate_supervision_layer’: 12,
‘leftwidth’: 400,
‘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_ICR_free_interact_trainingset1Aug23\Documentation_data-ICR_free_interact_trainingset1_95shuffle1.pickle’,
‘min_input_size’: 64,
‘minconfidence’: 0.01,
‘minsize’: 100,
‘mirror’: False,
‘multi_step’: [[0.0001, 7500], [5e-05, 12000], [1e-05, 200000]],
‘net_type’: ‘resnet_50’,
‘nmsradius’: 5.0,
‘num_joints’: 7,
‘num_limbs’: 14,
‘optimizer’: ‘adam’,
‘pafwidth’: 20,
‘pairwise_huber_loss’: False,
‘pairwise_loss_weight’: 0.1,
‘pairwise_predict’: False,
‘partaffinityfield_graph’: [[0, 1],
[1, 2],
[2, 6],
[4, 6],
[4, 5],
[5, 6],
[1, 5],
[0, 6],
[1, 6],
[3, 6],
[2, 5],
[3, 4],
[0, 2],
[0, 3]],
‘partaffinityfield_predict’: True,
‘pos_dist_thresh’: 17,
‘project_path’: ‘C:\Users\user\Desktop\DeepLabCut-master\conda-environments\ICR_free_interact_trainingset1-alok-2020-08-23’,
‘regularize’: False,
‘rightwidth’: 400,
‘save_iters’: 10000,
‘scale_jitter_lo’: 0.5,
‘scale_jitter_up’: 1.25,
‘scoremap_dir’: ‘test’,
‘shuffle’: True,
‘snapshot_prefix’: ‘C:\Users\user\Desktop\DeepLabCut-master\conda-environments\ICR_free_interact_trainingset1-alok-2020-08-23\dlc-models\iteration-0\ICR_free_interact_trainingset1Aug23-trainset95shuffle1\test\snapshot’,
‘stride’: 8.0,
‘topheight’: 400,
‘weigh_negatives’: False,
‘weigh_only_present_joints’: False,
‘weigh_part_predictions’: False,
‘weight_decay’: 0.0001}
Running DLC_resnet50_ICR_free_interact_trainingset1Aug23shuffle1_100000 with # of trainingiterations: 100000
e[1;31m---------------------------------------------------------------------------e[0m
e[1;31mFileNotFoundErrore[0m Traceback (most recent call last)
e[1;32mC:\ProgramData\Anaconda3\lib\site-packages\deeplabcut\gui\evaluate_network.pye[0m in e[0;36mevaluate_networke[1;34m(self, event)e[0m
e[0;32m 338e[0m e[0mplottinge[0me[1;33m=e[0me[0mplottinge[0me[1;33m,e[0me[1;33me[0me[1;33me[0me[0m
e[0;32m 339e[0m e[0mshow_errorse[0me[1;33m=e[0me[1;32mTruee[0me[1;33m,e[0me[1;33me[0me[1;33me[0me[0m
e[1;32m–> 340e[1;33m e[0mcomparisonbodypartse[0me[1;33m=e[0me[0mselfe[0me[1;33m.e[0me[0mbodypartse[0me[1;33m,e[0me[1;33me[0me[1;33me[0me[0m
e[0me[0;32m 341e[0m )
e[0;32m 342e[0m e[1;33me[0me[0m

e[1;32mC:\ProgramData\Anaconda3\lib\site-packages\deeplabcut\pose_estimation_tensorflow\evaluate.pye[0m in e[0;36mevaluate_networke[1;34m(config, Shuffles, trainingsetindex, plotting, show_errors, comparisonbodyparts, gputouse, rescale, modelprefix, c_engine)e[0m
e[0;32m 581e[0m e[0mgputousee[0me[1;33m,e[0me[1;33me[0me[1;33me[0me[0m
e[0;32m 582e[0m e[0mmodelprefixe[0me[1;33m,e[0me[1;33me[0me[1;33me[0me[0m
e[1;32m–> 583e[1;33m e[0mc_enginee[0me[1;33m=e[0me[0mc_enginee[0me[1;33m,e[0me[1;33me[0me[1;33me[0me[0m
e[0me[0;32m 584e[0m )
e[0;32m 585e[0m e[1;32melsee[0me[1;33m:e[0me[1;33me[0me[1;33me[0me[0m

e[1;32mC:\ProgramData\Anaconda3\lib\site-packages\deeplabcut\pose_estimation_tensorflow\evaluate_multianimal.pye[0m in e[0;36mevaluate_multianimal_fulle[1;34m(config, Shuffles, trainingsetindex, plotting, show_errors, comparisonbodyparts, gputouse, modelprefix, c_engine)e[0m
e[0;32m 229e[0m e[1;33m+e[0m e[0mSnapshotse[0me[1;33m[e[0me[0msnapindexe[0me[1;33m]e[0me[1;33m,e[0me[1;33me[0me[1;33me[0me[0m
e[0;32m 230e[0m )
e[1;32m–> 231e[1;33m e[0mauxiliaryfunctionse[0me[1;33m.e[0me[0mattempttomakefoldere[0me[1;33m(e[0me[0mfoldernamee[0me[1;33m)e[0me[1;33me[0me[1;33me[0me[0m
e[0me[0;32m 232e[0m e[1;33me[0me[0m
e[0;32m 233e[0m e[1;31m# print(dlc_cfg)e[0me[1;33me[0me[1;33me[0me[1;33me[0me[0m

e[1;32mC:\ProgramData\Anaconda3\lib\site-packages\deeplabcut\utils\auxiliaryfunctions.pye[0m in e[0;36mattempttomakefoldere[1;34m(foldername, recursive)e[0m
e[0;32m 287e[0m e[0mose[0me[1;33m.e[0me[0mmakedirse[0me[1;33m(e[0me[0mfoldernamee[0me[1;33m)e[0me[1;33me[0me[1;33me[0me[0m
e[0;32m 288e[0m e[1;32melsee[0me[1;33m:e[0me[1;33me[0me[1;33me[0me[0m
e[1;32m–> 289e[1;33m e[0mose[0me[1;33m.e[0me[0mmkdire[0me[1;33m(e[0me[0mfoldernamee[0me[1;33m)e[0me[1;33me[0me[1;33me[0me[0m
e[0me[0;32m 290e[0m e[1;33me[0me[0m
e[0;32m 291e[0m e[1;33me[0me[0m

e[1;31mFileNotFoundErrore[0m: [WinError 3] The system cannot find the path specified: ‘C:\Users\user\Desktop\DeepLabCut-master\conda-environments\ICR_free_interact_trainingset1-alok-2020-08-23\evaluation-results\iteration-0\ICR_free_interact_trainingset1Aug23-trainset95shuffle1\LabeledImages_DLC_resnet50_ICR_free_interact_trainingset1Aug23shuffle1_100000_snapshot-100000’

I tried finding if anyone else had similar errors, a suggested solution was to correct the path of config file. I apologise if this is a trivial query, but how does one correct the path of config file (adding r’ before the path for windows) ?

Or is this error result of something else?

can you verify that the files at that path exists? there will be three snapshot-100000 files in the folder.

to be clear,
You mean this folder (C:\Users\user\Desktop\DeepLabCut-master\conda-environments\ICR_free_interact_trainingset1-alok-2020-08-23\evaluation-results\iteration-0\ICR_free_interact_trainingset1Aug23-trainset95shuffle1\maps)

if so,
yes there 12 png files with filenames ending with snapshot-100000.

As you can see in the below pic, that shows the content of the folder created

At the path shown in the error, one folder higher: ‘C:\Users\user\Desktop\DeepLabCut-master\conda-environments\ICR_free_interact_trainingset1-alok-2020-08-23\evaluation-results\iteration-0\ICR_free_interact_trainingset1Aug23-trainset95shuffle1\’

in this folder
‘C:\Users\user\Desktop\DeepLabCut-master\conda-environments\ICR_free_interact_trainingset1-alok-2020-08-23\evaluation-results\iteration-0\ICR_free_interact_trainingset1Aug23-trainset95shuffle1\’

i have only one subfolder named Maps and no other files

When you open the program terminal, first right click and “open as admin” - looks like a permission issue!