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 : 3383064 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 : 3598>100 please execute split_portfolio.py -i 24536011 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3231073'] with mtr_portfolio_ids : ['24536011'] and first list_photo_ids : [] new path : /proc/3383064/ 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.2743451595306396 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 3 12:32:31 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/1751538748_3383064_1370428267_bff212df0d7f4d6bda67cbb04beac5e3.jpg resize: (1080, 1632) 1370428267 -5.063594214613487 treat image : temp/1751538748_3383064_1370428263_89a6fb57e1d3a30c9143715df90b0f6d.jpg resize: (1080, 1632) 1370428263 -5.061568634632212 treat image : temp/1751538748_3383064_1370428230_a015943114dc73af5489d1dd1581b759.jpg resize: (1080, 1632) 1370428230 -5.056522786440367 treat image : temp/1751538748_3383064_1370428149_312b6a63c6f7d8f1ab63e26f0d32a620.jpg resize: (1080, 1632) 1370428149 -5.075340507511883 treat image : temp/1751538748_3383064_1370428090_86df4ae0d43400525e10bd4c2e135792.jpg resize: (1080, 1632) 1370428090 -5.081429613803173 treat image : temp/1751538748_3383064_1370428080_a7df4b68adcbecba803a41028452023e.jpg resize: (1080, 1632) 1370428080 -5.090551284304234 treat image : temp/1751538748_3383064_1370428011_334ec069a3848f912098f947eea13ca8.jpg resize: (1080, 1632) 1370428011 -5.018562813371555 treat image : temp/1751538748_3383064_1370428006_80da8140af66ec7ff6799ce5232cdfa1.jpg resize: (1080, 1632) 1370428006 -5.018562813371555 treat image : temp/1751538748_3383064_1370427996_80592a3042b30ccbff1e38cdae5cd751.jpg resize: (1080, 1632) 1370427996 -5.0416069595917055 treat image : temp/1751538748_3383064_1370427995_ef24bf2d0485e3047cf8f4f68921ce6a.jpg resize: (1080, 1632) 1370427995 -5.0416069595917055 treat image : temp/1751538748_3383064_1370427980_6db9ee53321cb1fd8debe346cb105af0.jpg resize: (1080, 1632) 1370427980 -5.051816942497572 treat image : temp/1751538748_3383064_1370427976_c16b95ed6e735cc78798b7035b0034ee.jpg resize: (1080, 1632) 1370427976 -5.051816942497572 treat image : temp/1751538748_3383064_1370427944_aa77d12d8e89006511a2bcb50b97340e.jpg resize: (1080, 1632) 1370427944 -5.059727320972263 treat image : temp/1751538748_3383064_1370427940_ce466d1fed4dd4dbd441c0f15557fb64.jpg resize: (1080, 1632) 1370427940 -5.059727320972263 treat image : temp/1751538748_3383064_1370427884_10e6deada0e95f21627cebc385309ef9.jpg resize: (1080, 1632) 1370427884 -5.060596151443364 treat image : temp/1751538748_3383064_1370427883_74b1d5d4f06fd0d5fb5886995683241f.jpg resize: (1080, 1632) 1370427883 -5.060596151443364 treat image : temp/1751538748_3383064_1370427794_4f25d2b2b04d871e97190841335f877e.jpg resize: (1080, 1632) 1370427794 -5.063690545570191 treat image : temp/1751538748_3383064_1370427790_54e2edaf46950af19ffb973f09ca9864.jpg resize: (1080, 1632) 1370427790 -5.063690545570191 treat image : temp/1751538748_3383064_1370427510_a543c0ea747d3bad55755afcfd037695.jpg resize: (1080, 1632) 1370427510 -4.913267518262908 treat image : temp/1751538748_3383064_1370427480_bbee10bc029d3981351c47c31241d202.jpg resize: (1080, 1632) 1370427480 -4.946227214952085 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.012561798095703125 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.014979124069213867 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017980575561523438 save missing photos in datou_result : time spend for datou_step_exec : 18.60314702987671 time spend to save output : 0.051007747650146484 total time spend for step 1 : 18.654154777526855 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.77user 6.92system 0:23.65elapsed 91%CPU (0avgtext+0avgdata 138820maxresident)k 3120inputs+9584outputs (17major+259777minor)pagefaults 0swaps