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 : 1317297 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 : 1987>100 please execute split_portfolio.py -i 26103981 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3565041'] with mtr_portfolio_ids : ['26103981'] and first list_photo_ids : [] new path : /proc/1317297/ 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 : 2.3831069469451904 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 Aug 21 22:27:29 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/1755808047_1317297_1378285061_20118c123e0de1fa4c61c13f539cd0cd.jpg resize: (1080, 1632) 1378285061 -5.864178364757481 treat image : temp/1755808047_1317297_1378285032_2100959571cf9894f79e35cf520bfd7a.jpg resize: (1080, 1632) 1378285032 -4.474755370430012 treat image : temp/1755808047_1317297_1378285019_3e6d75e82b57bd44f900639a731b1dc1.jpg resize: (1080, 1632) 1378285019 -1.3724817354944008 treat image : temp/1755808047_1317297_1378285017_2d938a2cb352db4ad355f3701234a383.jpg resize: (1080, 1632) 1378285017 -1.3588741142703387 treat image : temp/1755808047_1317297_1378284993_7b2091a27746b1032a1346508eb02ba8.jpg resize: (1080, 1632) 1378284993 -5.9270535359094945 treat image : temp/1755808047_1317297_1378284991_497d7a9cab66ce2dfdfc5d4864f30970.jpg resize: (1080, 1632) 1378284991 -4.847602820552034 treat image : temp/1755808047_1317297_1378284989_2aaf0a9885ecce696a45dd2659d1ee64.jpg resize: (1080, 1632) 1378284989 -5.4977892865476345 treat image : temp/1755808047_1317297_1378284987_47cbdbbcf6e36f8a38ac49bf1859e31a.jpg resize: (1080, 1632) 1378284987 -5.00552158749495 treat image : temp/1755808047_1317297_1378284975_1a84d2380f36fcc889683ada97c7f369.jpg resize: (1080, 1632) 1378284975 -4.634429191753956 treat image : temp/1755808047_1317297_1378284952_491cc8c4a093183b922355572274ec97.jpg resize: (1080, 1632) 1378284952 -4.336150994802819 treat image : temp/1755808047_1317297_1378284110_a91e34ebc9cffc322a4e68b818e4261f.jpg resize: (1080, 1632) 1378284110 -2.17496465401966 treat image : temp/1755808047_1317297_1378284109_bce5f664b8bf27f6f94f03fb18988555.jpg resize: (1080, 1632) 1378284109 -2.17496465401966 treat image : temp/1755808047_1317297_1378284106_db60c4d625fa2cedffdc5a01fa23cdef.jpg resize: (1080, 1632) 1378284106 -2.6582738132163866 treat image : temp/1755808047_1317297_1378284105_0cb3e74b5362eea01249362e1ca5ddb4.jpg resize: (1080, 1632) 1378284105 -2.6582738132163866 treat image : temp/1755808047_1317297_1378279808_34f947838fbd332fa8fc74d64f9f76d2.jpg resize: (1080, 1632) 1378279808 -3.0576220692746863 treat image : temp/1755808047_1317297_1378279696_aa3b9c7b1d2f2851299cb994632c05c5.jpg resize: (1080, 1632) 1378279696 -3.893473244293226 treat image : temp/1755808047_1317297_1378279317_8fc2979acd758ba788d36b400684e0c3.jpg resize: (1080, 1632) 1378279317 -5.6200499865114475 treat image : temp/1755808047_1317297_1378279201_dc5aeed06a4376247020b3a2215f2ef2.jpg resize: (1080, 1632) 1378279201 -3.5641496092421137 treat image : temp/1755808047_1317297_1378279109_b9c1b7a8b01d1cf4a829c7a57520a149.jpg resize: (1080, 1632) 1378279109 -5.393784458682813 treat image : temp/1755808047_1317297_1378279039_cd248a5ad946efe5e8f7107b512a373a.jpg resize: (1080, 1632) 1378279039 -6.201231158408692 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.014862060546875 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.01282191276550293 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015177726745605469 save missing photos in datou_result : time spend for datou_step_exec : 15.753401756286621 time spend to save output : 0.0478062629699707 total time spend for step 1 : 15.801208019256592 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.59user 3.61system 0:19.69elapsed 92%CPU (0avgtext+0avgdata 140280maxresident)k 216inputs+8904outputs (29major+255596minor)pagefaults 0swaps