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 : 2442820 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 : 1127>100 please execute split_portfolio.py -i 24901762 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3277872'] with mtr_portfolio_ids : ['24901762'] and first list_photo_ids : [] new path : /proc/2442820/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 1.9172005653381348 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 Mon Jul 14 08:17:29 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/1752473847_2442820_1372088397_398e5aa316f1fa31425d68485f160205.jpg resize: (1080, 1632) 1372088397 -5.748483269783265 treat image : temp/1752473847_2442820_1372088394_60fed98ae0537b855fc9b56eaa42ac11.jpg resize: (1080, 1632) 1372088394 -5.759404119054023 treat image : temp/1752473847_2442820_1372088392_210705225d15f889b372d71d3953f130.jpg resize: (1080, 1632) 1372088392 -5.753114464126753 treat image : temp/1752473847_2442820_1372088390_81f43792f97cd616a2d7ba0b258e28a6.jpg resize: (1080, 1632) 1372088390 -5.751203756303326 treat image : temp/1752473847_2442820_1372088387_439306843095e96b6cfec692fb2f60de.jpg resize: (1080, 1632) 1372088387 -5.752125225900963 treat image : temp/1752473847_2442820_1372088385_6542c398bbea93a41fc7df956fb36b34.jpg resize: (1080, 1632) 1372088385 -5.756256793669365 treat image : temp/1752473847_2442820_1372088374_8ca7a2fa95391e5e4f7026725ebd2f1e.jpg resize: (1080, 1632) 1372088374 -5.7532348751337015 treat image : temp/1752473847_2442820_1372088372_c60d36f793d3132719f4cc0403709996.jpg resize: (1080, 1632) 1372088372 -5.7535201630387505 treat image : temp/1752473847_2442820_1372088370_75a775ebbbdedfdd7271f44f3e30e072.jpg resize: (1080, 1632) 1372088370 -5.751578338164498 treat image : temp/1752473847_2442820_1372088369_42d880202c12106cd55c3a4cd64380f5.jpg resize: (1080, 1632) 1372088369 -5.749139940544969 treat image : temp/1752473847_2442820_1372088367_7c7685cf058f6c727487d1071bc2f8d9.jpg resize: (1080, 1632) 1372088367 -5.748579451455739 treat image : temp/1752473847_2442820_1372088366_8bf8f01e3ef38643bdde37bdafec9a39.jpg resize: (1080, 1632) 1372088366 -5.748496308456167 treat image : temp/1752473847_2442820_1372088349_891dfb7a205ce8c76775bc370609bdbd.jpg resize: (1080, 1632) 1372088349 -5.744152537801285 treat image : temp/1752473847_2442820_1372088345_73aa74a80208c8ab20e3949195f54159.jpg resize: (1080, 1632) 1372088345 -5.748223978712911 treat image : temp/1752473847_2442820_1372088343_a7727d19204854bcf925b836368cde1f.jpg resize: (1080, 1632) 1372088343 -5.748471248658171 treat image : temp/1752473847_2442820_1372088342_666f911b09a091f840ee0810666762ba.jpg resize: (1080, 1632) 1372088342 -5.746430919858838 treat image : temp/1752473847_2442820_1372088341_e933a0473086fd5f03e48bb67d952558.jpg resize: (1080, 1632) 1372088341 -5.749511191856686 treat image : temp/1752473847_2442820_1372088339_ca1d1f2cc3a0816d2cda94fc5a9b64d4.jpg resize: (1080, 1632) 1372088339 -5.7484655436116485 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 : 18 time used for this insertion : 0.012813329696655273 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.030878305435180664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.03791093826293945 save missing photos in datou_result : time spend for datou_step_exec : 13.63767123222351 time spend to save output : 0.0859687328338623 total time spend for step 1 : 13.723639965057373 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.85user 3.30system 0:17.54elapsed 92%CPU (0avgtext+0avgdata 139796maxresident)k 0inputs+9096outputs (3major+242928minor)pagefaults 0swaps