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 : 2982278 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 : 3586>100 please execute split_portfolio.py -i 21089077 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2640530'] with mtr_portfolio_ids : ['21089077'] and first list_photo_ids : [] new path : /proc/2982278/ 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.116562843322754 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 Mar 6 19:02: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/1741284149_2982278_1341281922_998f19a5cccb2a696e3fe38b9081cbec.jpg resize: (1080, 1632) 1341281922 -5.422360792225622 treat image : temp/1741284149_2982278_1341281915_dfbae70e114d5ca8227063befe30f304.jpg resize: (1080, 1632) 1341281915 -2.10197255850141 treat image : temp/1741284149_2982278_1341281850_1a13c767dfd0cc26ce38471b8d4ad67e.jpg resize: (1080, 1632) 1341281850 -5.329478135963307 treat image : temp/1741284149_2982278_1341281807_083cdc518983054636c9a4ac971279e3.jpg resize: (1080, 1632) 1341281807 -6.351817464762097 treat image : temp/1741284149_2982278_1341281805_2cb7fd1e39cad9c3940c7c5968bd4716.jpg resize: (1080, 1632) 1341281805 -6.2579814312580995 treat image : temp/1741284149_2982278_1341281793_80b7cf644b610e7c03d013ac2eb7542e.jpg resize: (1080, 1632) 1341281793 -6.106679995189233 treat image : temp/1741284149_2982278_1341275506_d4c7536b5e6c45c4094cc288e9ba12a9.jpg resize: (1080, 1632) 1341275506 -4.305431851600301 treat image : temp/1741284149_2982278_1341275495_f1e619c5948957f762f63a0d372f339d.jpg resize: (1080, 1632) 1341275495 -6.308286204337713 treat image : temp/1741284149_2982278_1341275488_ce6ec5d6ca5c283cca3f049cbe87d720.jpg resize: (1080, 1632) 1341275488 -5.545420701061408 treat image : temp/1741284149_2982278_1341275478_d1ef4a6235f9b2a24c067f1d70784126.jpg resize: (1080, 1632) 1341275478 -4.31003011601546 treat image : temp/1741284149_2982278_1341275473_1e13e618efa0ce1834e9e9c60e812326.jpg resize: (1080, 1632) 1341275473 -2.1835938609539993 treat image : temp/1741284149_2982278_1341275467_ca6c034e6cb0cae358d0c55443a4f851.jpg resize: (1080, 1632) 1341275467 -2.550749163096631 treat image : temp/1741284149_2982278_1341275456_f8ebdd50f35b3763d210ec2101801321.jpg resize: (1080, 1632) 1341275456 -5.2045700007137174 treat image : temp/1741284149_2982278_1341275447_b899dc960d13ce0c5a35562c1d1445bb.jpg resize: (1080, 1632) 1341275447 -6.323244882829909 treat image : temp/1741284149_2982278_1341275442_6bf0886a87c3ecd1b2c954656b5c66bf.jpg resize: (1080, 1632) 1341275442 -6.004468339018888 treat image : temp/1741284149_2982278_1341275434_2adf282494955f713c4be836929441f8.jpg resize: (1080, 1632) 1341275434 -5.413366682727796 treat image : temp/1741284149_2982278_1341275409_05212f8199efc830aea8156d5e096727.jpg resize: (1080, 1632) 1341275409 -5.414464748537689 treat image : temp/1741284149_2982278_1341275404_7a6b59b8d178af8cd77896fe49c0bbc3.jpg resize: (1080, 1632) 1341275404 -6.4044133926035105 treat image : temp/1741284149_2982278_1341275399_93469de4af53682efb10abc61a244eba.jpg resize: (1080, 1632) 1341275399 -5.605966417627435 treat image : temp/1741284149_2982278_1341275390_e5de16cf545dc4755522e2ebc5a836f4.jpg resize: (1080, 1632) 1341275390 -5.7248593273775645 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.012851476669311523 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.012226104736328125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014164209365844727 save missing photos in datou_result : time spend for datou_step_exec : 16.763551235198975 time spend to save output : 0.044226884841918945 total time spend for step 1 : 16.807778120040894 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.69user 4.72system 0:23.10elapsed 84%CPU (0avgtext+0avgdata 139580maxresident)k 192inputs+10432outputs (23major+256246minor)pagefaults 0swaps