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 : 1933609 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 updating current state to 1 we have a portfolio with more photos than limit : 3501>100 please execute split_portfolio.py -i 26511073 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3661506'] with mtr_portfolio_ids : ['26511073'] and first list_photo_ids : [] new path : /proc/1933609/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 15 ; length of list_pids : 15 ; length of list_args : 15 time to download the photos : 1.989403486251831 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 Sep 4 21:32:32 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/1757014350_1933609_1381529927_89af25d5c77c14390a40165d84e0b83e_23782123.jpg resize: (1080, 1632) 1381529927 -3.978179697855206 treat image : temp/1757014350_1933609_1381529925_76554f4a8243aa4cb21902851d9a2589_14500339.jpg resize: (1080, 1632) 1381529925 -3.6459111422918524 treat image : temp/1757014350_1933609_1381529923_917f786a8af698e92a9c9c72527702b6_75481162.jpg resize: (1080, 1632) 1381529923 -3.3852919514138384 treat image : temp/1757014350_1933609_1381529921_fb06a553ff40925cbcfbed57bdb1aeb3_91617013.jpg resize: (1080, 1632) 1381529921 -5.495307146751034 treat image : temp/1757014350_1933609_1381529919_42867e766750e491d9342647592d686b_35655920.jpg resize: (1080, 1632) 1381529919 -4.369243182918265 treat image : temp/1757014350_1933609_1381529786_197916c7c4e93f7ae0c48d1ebe56069e_99098009.jpg resize: (1080, 1632) 1381529786 -5.439993758240374 treat image : temp/1757014350_1933609_1381529785_8c5417f554aec500b40615acb082403c_11631323.jpg resize: (1080, 1632) 1381529785 -1.4101508013568373 treat image : temp/1757014350_1933609_1381529784_af10dc31f2f043c1ab853ed2d66fe666_12884757.jpg resize: (1080, 1632) 1381529784 -4.46050177472196 treat image : temp/1757014350_1933609_1381529783_97fdc06f1157822da64d28fc681ec0d6_40761801.jpg resize: (1080, 1632) 1381529783 -4.800987328010381 treat image : temp/1757014350_1933609_1381529540_f6db419d76ff879ed47ef78142692bce_605426.jpg resize: (1080, 1632) 1381529540 -4.945611616330611 treat image : temp/1757014350_1933609_1381529538_960c587bf60dc3fe0b11eee8839d1215_44174189.jpg resize: (1080, 1632) 1381529538 -5.196146638080364 treat image : temp/1757014350_1933609_1381529536_e703b0c253c9c85b0d997b4798c1ef00_20244838.jpg resize: (1080, 1632) 1381529536 -4.74765600090717 treat image : temp/1757014350_1933609_1381529534_3c2995d96bc4b1e406fc51cf2429c745_90403562.jpg resize: (1080, 1632) 1381529534 -2.32161125735854 treat image : temp/1757014350_1933609_1381529531_e1ea339ef38e20a9f018da687cc83886_81255046.jpg resize: (1080, 1632) 1381529531 -5.241807370804415 treat image : temp/1757014350_1933609_1381529529_64ef91e38c1ce0bb21d88bd0beefb834_87588369.jpg resize: (1080, 1632) 1381529529 -5.572285945926268 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 : 15 time used for this insertion : 0.02971029281616211 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 15 time used for this insertion : 0.028260231018066406 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.036455631256103516 save missing photos in datou_result : time spend for datou_step_exec : 11.756865501403809 time spend to save output : 0.10686588287353516 total time spend for step 1 : 11.863731384277344 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 15 set_done_treatment 11.13user 2.98system 0:18.67elapsed 75%CPU (0avgtext+0avgdata 138016maxresident)k 48inputs+7104outputs (0major+209971minor)pagefaults 0swaps