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 : 1771020 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 : 978>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/1771020/ 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.4989092350006104 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 Wed May 21 08:42: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/1747809747_1771020_1359972944_78099f7fe923d5a8f8f506591913048d.jpg resize: (1080, 1632) 1359972944 -5.438345596273801 treat image : temp/1747809747_1771020_1359972628_544044c5eb47edde1df0e02142945b7b.jpg resize: (1080, 1632) 1359972628 -5.698907205384256 treat image : temp/1747809747_1771020_1359972610_65793ec74042c84cd6efc039c7b52830.jpg resize: (1080, 1632) 1359972610 -3.335397408933951 treat image : temp/1747809747_1771020_1359972602_1063fb7e10fe5e26a53407eebabe85f9.jpg resize: (1080, 1632) 1359972602 -5.764363538602403 treat image : temp/1747809747_1771020_1359972598_6f2276d8fe1ccba928d44b989bfa118d.jpg resize: (1080, 1632) 1359972598 -3.8478812508969646 treat image : temp/1747809747_1771020_1359972593_7da13704f2316246283ce0a6c77f6fa7.jpg resize: (1080, 1632) 1359972593 -0.7183736496517769 treat image : temp/1747809747_1771020_1359972343_e7dcd1db50e5370023fd8a3a03d6a937.jpg resize: (1080, 1632) 1359972343 -3.002647731126103 treat image : temp/1747809747_1771020_1359972338_58ff33dcb540ff7e3ba506c2820db93e.jpg resize: (1080, 1632) 1359972338 -4.530006080907403 treat image : temp/1747809747_1771020_1359972336_d2fc3199a9e7117e16ea3ab05741eeb5.jpg resize: (1080, 1632) 1359972336 -5.737899232001644 treat image : temp/1747809747_1771020_1359972333_ea379407e2cc11549e97c28a6a939986.jpg resize: (1080, 1632) 1359972333 -5.579767172821554 treat image : temp/1747809747_1771020_1359972330_f82c8fa20a625a82801b9427b63a426c.jpg resize: (1080, 1632) 1359972330 -6.017774330505425 treat image : temp/1747809747_1771020_1359972326_398d1aa2840d3bf7704dfb9454b35e10.jpg resize: (1080, 1632) 1359972326 -5.766405365174298 treat image : temp/1747809747_1771020_1359972022_1c03df7a7b3ad399c074a629cf1d4cad.jpg resize: (1080, 1632) 1359972022 -5.761939013511336 treat image : temp/1747809747_1771020_1359972019_b5257a2df0e28a95801911dec68689e7.jpg resize: (1080, 1632) 1359972019 -5.128353741408049 treat image : temp/1747809747_1771020_1359972017_52453f02fe7e113b2aa5e82de7d692d0.jpg resize: (1080, 1632) 1359972017 -6.167053546594577 treat image : temp/1747809747_1771020_1359972012_1404a0b8d68fe11e089a7ca1b166122d.jpg resize: (1080, 1632) 1359972012 -5.541464600967913 treat image : temp/1747809747_1771020_1359972009_03d2f4f22ba458d46aa725ffe8f22695.jpg resize: (1080, 1632) 1359972009 -5.259729487908437 treat image : temp/1747809747_1771020_1359971975_035bdfcb6170ff69196a2225525d9ce2.jpg resize: (1080, 1632) 1359971975 -1.7049121817785193 treat image : temp/1747809747_1771020_1359971972_c40d5ab1bd808a88a6de4666103b303b.jpg resize: (1080, 1632) 1359971972 -1.369771979940669 treat image : temp/1747809747_1771020_1359971969_d1347621a8671d649d8d2fa091f9125b.jpg resize: (1080, 1632) 1359971969 -5.09501077557614 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.013201475143432617 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.2011260986328125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.36893677711486816 save missing photos in datou_result : time spend for datou_step_exec : 14.718306303024292 time spend to save output : 0.5889551639556885 total time spend for step 1 : 15.30726146697998 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.35user 2.80system 0:21.11elapsed 81%CPU (0avgtext+0avgdata 140228maxresident)k 136inputs+9936outputs (7major+260247minor)pagefaults 0swaps