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 : 366918 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 : 8603>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/366918/ 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.1938815116882324 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 Fri Jul 11 21:32:30 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/1752262348_366918_1371671783_7bbf4387d9b52b509abafd034a7d09e5.jpg resize: (1080, 1632) 1371671783 -4.896318700493749 treat image : temp/1752262348_366918_1371671757_5c7859e68810f955ef969805c8018f85.jpg resize: (1080, 1632) 1371671757 -4.900097497057183 treat image : temp/1752262348_366918_1371671725_7e4f13951b3c85a55ca9e853df713a98.jpg resize: (1080, 1632) 1371671725 -4.934515589072797 treat image : temp/1752262348_366918_1371671699_bf65a92f7036066b524c5bcc02c26351.jpg resize: (1080, 1632) 1371671699 -4.9435128123263965 treat image : temp/1752262348_366918_1371671669_0e702ed26e7744bc70311bc698a291f6.jpg resize: (1080, 1632) 1371671669 -4.951000455233337 treat image : temp/1752262348_366918_1371671659_3f47350f5e06b08dc57a659a393baf03.jpg resize: (1080, 1632) 1371671659 -4.956234551828903 treat image : temp/1752262348_366918_1371671650_50a01fc0e5716afbfa83096039e94e76.jpg resize: (1080, 1632) 1371671650 -1.2723657449052899 treat image : temp/1752262348_366918_1371671646_d53b5bd9b14ee7cc0c4b6480533ab482.jpg resize: (1080, 1632) 1371671646 -2.4895142188286776 treat image : temp/1752262348_366918_1371671644_69a1790ea7f4d7d5cbc114a0b5259071.jpg resize: (1080, 1632) 1371671644 -2.490294040098456 treat image : temp/1752262348_366918_1371671641_f5c53fd3ac9dea3e7c76773cd1d75480.jpg resize: (1080, 1632) 1371671641 -1.8525226814181173 treat image : temp/1752262348_366918_1371671589_83644f0b267b891cd7bee245bef059d9.jpg resize: (1080, 1632) 1371671589 -2.769496764698749 treat image : temp/1752262348_366918_1371671574_d9d59ba356d60c70b50a11cea314f35d.jpg resize: (1080, 1632) 1371671574 -2.994131432072962 treat image : temp/1752262348_366918_1371671559_71101db3703a44d5cd6abb32586f9849.jpg resize: (1080, 1632) 1371671559 -3.2717823843430502 treat image : temp/1752262348_366918_1371671551_481dbe2bec825fd42717041320660ca0.jpg resize: (1080, 1632) 1371671551 -5.4338797192505695 treat image : temp/1752262348_366918_1371671534_3e4be98b5353209d9902254a8ec27728.jpg resize: (1080, 1632) 1371671534 -5.01696243754207 treat image : temp/1752262348_366918_1371671525_6030983224cf064582211da10869e008.jpg resize: (1080, 1632) 1371671525 -5.886961513183665 treat image : temp/1752262348_366918_1371671523_7a833d10f17a4a87f0ba0627a3fb2711.jpg resize: (1080, 1632) 1371671523 -5.629124948614462 treat image : temp/1752262348_366918_1371671513_c7937ea9512fe0e56f7a9e9e148ac831.jpg resize: (1080, 1632) 1371671513 -3.5624208151009267 treat image : temp/1752262348_366918_1371671477_70dbb5b1438bd8fcf0bdf50187689215.jpg resize: (1080, 1632) 1371671477 -4.934386518209142 treat image : temp/1752262348_366918_1371671455_a831a7c83cfc7df4a5800f1367739bb2.jpg resize: (1080, 1632) 1371671455 -4.919048996245023 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.015279531478881836 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.013877630233764648 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016849040985107422 save missing photos in datou_result : time spend for datou_step_exec : 18.01257824897766 time spend to save output : 0.050882577896118164 total time spend for step 1 : 18.06346082687378 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.13user 5.54system 0:24.27elapsed 85%CPU (0avgtext+0avgdata 139360maxresident)k 8inputs+8824outputs (2major+252381minor)pagefaults 0swaps