python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' -a 4871 -l 100 ' -s datou_current_4871 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 1676633 load datou : 4871 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 we have a portfolio with more photos than limit : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/1676633/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! List Step Type Loaded in datou : blur_detection over limit max, limiting to limit_max 20 list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 3.2886159420013428 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:blur_detection Thu Jul 17 22:42:33 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec inside step blur_detection methode: ratio et variance treat image : temp/1752784950_1676633_1372332407_f954f9022e30ef7a376097a67d5ede15.jpg resize: (1080, 1632) 1372332407 -3.64348658342136 treat image : temp/1752784950_1676633_1372332405_e661e3fcf036e95bdd2bac368c2e632c.jpg resize: (1080, 1632) 1372332405 -3.65068909099952 treat image : temp/1752784950_1676633_1372332401_71b57e51f469b2224e76d7c47a67d676.jpg resize: (1080, 1632) 1372332401 -3.6340858845094415 treat image : temp/1752784950_1676633_1372332380_638b525decc88b453ababfc24e8a4782.jpg resize: (1080, 1632) 1372332380 -4.7820520292828546 treat image : temp/1752784950_1676633_1372332378_43fb0fb3b366bbcf28804beb52b8c83c.jpg resize: (1080, 1632) 1372332378 -4.794070448940512 treat image : temp/1752784950_1676633_1372332373_2ee4544c4e41d7954a9ec9a69d037b65.jpg resize: (1080, 1632) 1372332373 -4.776158553729304 treat image : temp/1752784950_1676633_1372332369_6068c26f148ae55fd19c7e8a66cf7038.jpg resize: (1080, 1632) 1372332369 -4.796228169572617 treat image : temp/1752784950_1676633_1372332368_ebeaa365fc5eb72b3c8b4910aa8228a6.jpg resize: (1080, 1632) 1372332368 -4.789431881284524 treat image : temp/1752784950_1676633_1372332364_9790bacdd736f1a8d947a9924c1980f7.jpg resize: (1080, 1632) 1372332364 -4.802433344857637 treat image : temp/1752784950_1676633_1372332344_32d0f79a390748918af3dd4b3e5b4c40.jpg resize: (1080, 1632) 1372332344 -4.305240498335069 treat image : temp/1752784950_1676633_1372332341_f96f841ea8cfd2eaa61ba35f67bf3478.jpg resize: (1080, 1632) 1372332341 -4.310169931781669 treat image : temp/1752784950_1676633_1372332339_5abfe6d589d873da5af64fb3224ffb4d.jpg resize: (1080, 1632) 1372332339 -4.292524628645803 treat image : temp/1752784950_1676633_1372332337_50bc9da17288aa2e2e4864802dee0a60.jpg resize: (1080, 1632) 1372332337 -4.299074935806994 treat image : temp/1752784950_1676633_1372332334_9d87ee6da936116fbbc4cb18d80cef1e.jpg resize: (1080, 1632) 1372332334 -4.301494767563989 treat image : temp/1752784950_1676633_1372332332_033b1626ac20bfaaefd0102e3815ae66.jpg resize: (1080, 1632) 1372332332 -4.7797498470348625 treat image : temp/1752784950_1676633_1372332311_589d19f5a6ccc87a267ba827434d9578.jpg resize: (1080, 1632) 1372332311 -4.141183536820562 treat image : temp/1752784950_1676633_1372332309_711cbc57f611f750db5f50c5296ed671.jpg resize: (1080, 1632) 1372332309 -4.1285376847537725 treat image : temp/1752784950_1676633_1372332308_0ffc1559881c5b746875074ec591c386.jpg resize: (1080, 1632) 1372332308 -4.13566627003704 treat image : temp/1752784950_1676633_1372332307_65714d092c25466291e325fa60d7a454.jpg resize: (1080, 1632) 1372332307 -4.314697334351568 treat image : temp/1752784950_1676633_1372332306_0a048b350b1143969ed15933aa37ad61.jpg resize: (1080, 1632) 1372332306 -4.301403633788202 Inside saveOutput : final : True verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 20 time used for this insertion : 0.011818647384643555 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.015947341918945312 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018012285232543945 save missing photos in datou_result : time spend for datou_step_exec : 15.238462209701538 time spend to save output : 0.05049324035644531 total time spend for step 1 : 15.288955450057983 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.18user 3.71system 0:23.50elapsed 76%CPU (0avgtext+0avgdata 138412maxresident)k 72inputs+8136outputs (15major+253837minor)pagefaults 0swaps