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 : 1501401 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 : 3546>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/1501401/ 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.2751548290252686 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 Jul 2 17:52:28 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/1751471546_1501401_1369987102_2cefe692114d67892b479e65390426ee.jpg resize: (1080, 1632) 1369987102 -2.164750637521846 treat image : temp/1751471546_1501401_1369987101_7362991af7c757ec240a7c5a8a89e5c2.jpg resize: (1080, 1632) 1369987101 -2.192070636989209 treat image : temp/1751471546_1501401_1369987098_e2a4a051dffe6aad657fefe19bd3e9e3.jpg resize: (1080, 1632) 1369987098 -2.152131082242956 treat image : temp/1751471546_1501401_1369987095_549c6d514cb38258003f4d3a59cc1700.jpg resize: (1080, 1632) 1369987095 -2.1545530549503877 treat image : temp/1751471546_1501401_1369987061_beed380d3b3dd7b435612d94270374cc.jpg resize: (1080, 1632) 1369987061 -2.1937488420165745 treat image : temp/1751471546_1501401_1369987056_772553b2b91ada392b3f058fa7790e22.jpg resize: (1080, 1632) 1369987056 -2.184312732501239 treat image : temp/1751471546_1501401_1369986970_4bd561d12dd78d8a486dd29da4c9025e.jpg resize: (1080, 1632) 1369986970 -2.1862286480704576 treat image : temp/1751471546_1501401_1369986930_ce336fe3b177ff4992a0fa021dda9ab1.jpg resize: (1080, 1632) 1369986930 -2.153129438725957 treat image : temp/1751471546_1501401_1369986919_d5f67e0ed0f1a8378fc8759f6e8ba825.jpg resize: (1080, 1632) 1369986919 -2.1282741846043995 treat image : temp/1751471546_1501401_1369986877_04f6cef146b02d6217225ac3ad0abff2.jpg resize: (1080, 1632) 1369986877 -2.125083361554606 treat image : temp/1751471546_1501401_1369986794_473e62d4f265c2952c8dcc27b5e5bfc8.jpg resize: (1080, 1632) 1369986794 -2.1291509686360475 treat image : temp/1751471546_1501401_1369986761_8784d75512597e82453b612833292649.jpg resize: (1080, 1632) 1369986761 -2.153414712499174 treat image : temp/1751471546_1501401_1369979094_797a2cc09c25aed8df6fd482f9bc278b.jpg resize: (1080, 1632) 1369979094 -2.489597595578193 treat image : temp/1751471546_1501401_1369979087_8119b38b22b70573b093c048d5ece4d7.jpg resize: (1080, 1632) 1369979087 -0.5992204466759877 treat image : temp/1751471546_1501401_1369979079_4a83c35510416f576b4a3e96dccefa8a.jpg resize: (1080, 1632) 1369979079 -1.5710985976499061 treat image : temp/1751471546_1501401_1369979073_83f45772f498402f03d2447fdc7c980c.jpg resize: (1080, 1632) 1369979073 -1.9564513661820535 treat image : temp/1751471546_1501401_1369979070_ceaa84874a098d587cd99020b49ad4ac.jpg resize: (1080, 1632) 1369979070 -2.2908657563482073 treat image : temp/1751471546_1501401_1369979067_7ce1bc76e304c4a5653d369c15d3973d.jpg resize: (1080, 1632) 1369979067 -2.121005910302124 treat image : temp/1751471546_1501401_1369979063_b81359d991c0d39496793b8c3b7ea551.jpg resize: (1080, 1632) 1369979063 -3.620261143234535 treat image : temp/1751471546_1501401_1369979060_e06708126b6875e9b0ab8f03df604faa.jpg resize: (1080, 1632) 1369979060 -5.35542109587962 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.015071392059326172 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.013988971710205078 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014276981353759766 save missing photos in datou_result : time spend for datou_step_exec : 18.293601751327515 time spend to save output : 0.04846954345703125 total time spend for step 1 : 18.342071294784546 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.63user 6.06system 0:22.20elapsed 93%CPU (0avgtext+0avgdata 139056maxresident)k 2936inputs+6824outputs (39major+251775minor)pagefaults 0swaps