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 : 622440 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 : 5757>100 please execute split_portfolio.py -i 24661193 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3243209'] with mtr_portfolio_ids : ['24661193'] and first list_photo_ids : [] new path : /proc/622440/ 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.2495036125183105 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 7 21:47:30 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/1751917648_622440_1371067023_fc2ddf2b8215690973add97a4223b91f.jpg resize: (1080, 1632) 1371067023 -5.742244558548025 treat image : temp/1751917648_622440_1371067022_2ce42a1290ddbfeff0bd4d457b972834.jpg resize: (1080, 1632) 1371067022 -5.742244558548025 treat image : temp/1751917648_622440_1371067020_437acc6ab7599a1451d700f5052a2554.jpg resize: (1080, 1632) 1371067020 -1.3420693600874078 treat image : temp/1751917648_622440_1371067019_5f4b618a1b97b3799c58ddeb18076650.jpg resize: (1080, 1632) 1371067019 -1.3420693600874078 treat image : temp/1751917648_622440_1371067016_4393fb64f0a8472f959b104216b5802f.jpg resize: (1080, 1632) 1371067016 -2.520711421830001 treat image : temp/1751917648_622440_1371067015_819248dedf4aa2e53d853aa05150c1f6.jpg resize: (1080, 1632) 1371067015 -2.520711421830001 treat image : temp/1751917648_622440_1371067009_7b9b97f54c043180ac4602089595bc53.jpg resize: (1080, 1632) 1371067009 -1.7092812432507474 treat image : temp/1751917648_622440_1371067008_79f97188e843b7f4c6eb9e3b1838febd.jpg resize: (1080, 1632) 1371067008 -1.7092812432507474 treat image : temp/1751917648_622440_1371066995_e261ac547b06e90ac93ff4a41edf630a.jpg resize: (1080, 1632) 1371066995 -1.5155399337653128 treat image : temp/1751917648_622440_1371066994_bfa28d18d31e738f866a01cf099d6de0.jpg resize: (1080, 1632) 1371066994 -1.5155399337653128 treat image : temp/1751917648_622440_1371066990_e2f7cb791874016bc1dc376eaaa660a9.jpg resize: (1080, 1632) 1371066990 -5.0445287737578015 treat image : temp/1751917648_622440_1371066988_83b303dcb0b8aaaa5ea8b2bcf0d97f08.jpg resize: (1080, 1632) 1371066988 -5.0445287737578015 treat image : temp/1751917648_622440_1371066979_4ca40992bb7565b173366d61092b5278.jpg resize: (1080, 1632) 1371066979 -2.265686060428786 treat image : temp/1751917648_622440_1371066960_730d3a5a5503329d8d0e2495cdf508bd.jpg resize: (1080, 1632) 1371066960 -2.1539860365938206 treat image : temp/1751917648_622440_1371066954_2d40d1f51c84eefd181232ace61291b1.jpg resize: (1080, 1632) 1371066954 -4.605115431615747 treat image : temp/1751917648_622440_1371066952_8312ce6530bdcf596a7129c0fa407987.jpg resize: (1080, 1632) 1371066952 -4.602507914261368 treat image : temp/1751917648_622440_1371066949_15313db1c8d8cf37f3fa325cbb751b4d.jpg resize: (1080, 1632) 1371066949 -4.555141797768131 treat image : temp/1751917648_622440_1371066945_4a583d50605f3d8589bacb73a2af1822.jpg resize: (1080, 1632) 1371066945 -4.446094737495944 treat image : temp/1751917648_622440_1371066934_467517eacb4c3b53cc5601840b0f93a7.jpg resize: (1080, 1632) 1371066934 -5.080743950251394 treat image : temp/1751917648_622440_1371066932_e13005c23ac34a542619cf0272156c22.jpg resize: (1080, 1632) 1371066932 -3.3699140261358207 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.012824296951293945 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.013033628463745117 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01572895050048828 save missing photos in datou_result : time spend for datou_step_exec : 15.93787956237793 time spend to save output : 0.0461575984954834 total time spend for step 1 : 15.984037160873413 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.47user 3.86system 0:22.11elapsed 82%CPU (0avgtext+0avgdata 139092maxresident)k 24inputs+7896outputs (0major+257040minor)pagefaults 0swaps