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 : 3286003 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 : 3268>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/3286003/ 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.19783091545105 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 11:52: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/1751536349_3286003_1370408641_ddb96a2ef324cc1b8b7c5eb82352d1f2.jpg resize: (1080, 1632) 1370408641 -4.6737654412717475 treat image : temp/1751536349_3286003_1370408607_d4d52d553dc83d590259defec70d7a19.jpg resize: (1080, 1632) 1370408607 -3.9497223906077408 treat image : temp/1751536349_3286003_1370408590_95ee66b5c4da9dec764a9c34a9282307.jpg resize: (1080, 1632) 1370408590 -3.9511190484409084 treat image : temp/1751536349_3286003_1370408577_837ff6115fe00611d65ef393582523ad.jpg resize: (1080, 1632) 1370408577 -3.9872745391106355 treat image : temp/1751536349_3286003_1370408556_095192ee5cc493267110bcc37cffb10a.jpg resize: (1080, 1632) 1370408556 -4.043714542648966 treat image : temp/1751536349_3286003_1370408541_9a32c7c640fbeeba88832de498907ae9.jpg resize: (1080, 1632) 1370408541 -3.8965454319358415 treat image : temp/1751536349_3286003_1370408413_557f2571de3ea20ec695553e23e8142f.jpg resize: (1080, 1632) 1370408413 -2.357135089912169 treat image : temp/1751536349_3286003_1370408343_4b653978d1db94b3812846540230b6ac.jpg resize: (1080, 1632) 1370408343 -3.1482615238894995 treat image : temp/1751536349_3286003_1370408240_a61065a5cb544191bc59eff655a5b094.jpg resize: (1080, 1632) 1370408240 -5.72516620685144 treat image : temp/1751536349_3286003_1370408170_02c9edb9edf7cf9ffe5eb3d8947072bd.jpg resize: (1080, 1632) 1370408170 -5.373424401945978 treat image : temp/1751536349_3286003_1370408070_90dd6d664e5d827a8d5f0e3b6c90fae3.jpg resize: (1080, 1632) 1370408070 -4.805759179167777 treat image : temp/1751536349_3286003_1370407992_cadb68412864dec3bcf604243bf8cbf4.jpg resize: (1080, 1632) 1370407992 -5.396537703408263 treat image : temp/1751536349_3286003_1370406210_5719c23d77a8a4a431af8f22ee1ec4bb.jpg resize: (1080, 1632) 1370406210 -4.523985416045477 treat image : temp/1751536349_3286003_1370406169_1cd07593e1ecb27386fb767a20d0a13b.jpg resize: (1080, 1632) 1370406169 -4.593125143133479 treat image : temp/1751536349_3286003_1370406123_f7c15a75a70477f3479e08be983f8d20.jpg resize: (1080, 1632) 1370406123 -4.778900008983384 treat image : temp/1751536349_3286003_1370406056_db242a69183b749dd35b3e57f525bafd.jpg resize: (1080, 1632) 1370406056 -4.772554934423818 treat image : temp/1751536349_3286003_1370405839_34b12db46a5c77fcc090971bda04f579.jpg resize: (1080, 1632) 1370405839 -2.236091584579607 treat image : temp/1751536349_3286003_1370405792_ea66acf3da5fb0d978b8ef9805bc6bdd.jpg resize: (1080, 1632) 1370405792 -2.0539659119911726 treat image : temp/1751536349_3286003_1370405740_f126f9bcf4329040a0e7255df3512645.jpg resize: (1080, 1632) 1370405740 -2.083796352964217 treat image : temp/1751536349_3286003_1370405685_5b23517daef3202e0079b3fcd4d73d5a.jpg resize: (1080, 1632) 1370405685 -1.52276728522025 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.03274369239807129 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.024924039840698242 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.023975372314453125 save missing photos in datou_result : time spend for datou_step_exec : 16.94812536239624 time spend to save output : 0.08594894409179688 total time spend for step 1 : 17.034074306488037 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.42user 4.69system 0:22.54elapsed 84%CPU (0avgtext+0avgdata 138204maxresident)k 3000inputs+8264outputs (43major+259969minor)pagefaults 0swaps