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 : 246162 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 : 4049>100 please execute split_portfolio.py -i 21995993 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2718254'] with mtr_portfolio_ids : ['21995993'] and first list_photo_ids : [] new path : /proc/246162/ 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.469679355621338 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 Apr 3 19:22: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/1743700946_246162_1349844221_179568d62c4bc63dd3a1e5e23322bbaf.jpg resize: (1080, 1632) 1349844221 -5.66458500768454 treat image : temp/1743700946_246162_1349844217_8f24bf8be01ca7c5f74bb8c1a7cc55a4.jpg resize: (1080, 1632) 1349844217 -2.739478620059404 treat image : temp/1743700946_246162_1349844213_d407b2d1b0ab12c006d9e38b1cf676e4.jpg resize: (1080, 1632) 1349844213 -5.594546148024141 treat image : temp/1743700946_246162_1349844206_bf1026231de051cffca609a6379ea4e4.jpg resize: (1080, 1632) 1349844206 -1.7906889353825173 treat image : temp/1743700946_246162_1349844196_2b5c3a234f026db5be94e741084d59a0.jpg resize: (1080, 1632) 1349844196 -3.349934789551878 treat image : temp/1743700946_246162_1349844183_803a6db0d4177eda7e90d6d3f0a50264.jpg resize: (1080, 1632) 1349844183 -4.949698712629963 treat image : temp/1743700946_246162_1349844154_9fff7f0d3282d49de0da3324b6b87738.jpg resize: (1080, 1632) 1349844154 -6.636002052521808 treat image : temp/1743700946_246162_1349844144_87467db66c89b1548067d45bb8f2d4f5.jpg resize: (1080, 1632) 1349844144 -6.047324774734862 treat image : temp/1743700946_246162_1349844141_9104f6eb586bd16c68aae7d331366688.jpg resize: (1080, 1632) 1349844141 -5.824483131581258 treat image : temp/1743700946_246162_1349844132_02145792f89ee11ea1867fe44ee3d7ba.jpg resize: (1080, 1632) 1349844132 -4.625354450892123 treat image : temp/1743700946_246162_1349844112_a486a714068459038d3a513b74424bb4.jpg resize: (1080, 1632) 1349844112 -3.9880255290107525 treat image : temp/1743700946_246162_1349844105_11fa92bbbf8a3567fe9fb8330bc6c0d0.jpg resize: (1080, 1632) 1349844105 -6.007447086026073 treat image : temp/1743700946_246162_1349843644_095b2f03b62942a047b47824ec1c41b6.jpg resize: (1080, 1632) 1349843644 -5.6677119229456325 treat image : temp/1743700946_246162_1349843643_fb57a8f96f37ac8aca214b9e1ee52b31.jpg resize: (1080, 1632) 1349843643 -5.6677119229456325 treat image : temp/1743700946_246162_1349843630_bf8b8e161b0b256659d72b725867bb44.jpg resize: (1080, 1632) 1349843630 -5.654207372935455 treat image : temp/1743700946_246162_1349843629_9513f046dee01e92473476b5c8fc2979.jpg resize: (1080, 1632) 1349843629 -5.654207372935455 treat image : temp/1743700946_246162_1349843603_b743a0d8b874e4b6b543e2d43004320e.jpg resize: (1080, 1632) 1349843603 -5.237726867902013 treat image : temp/1743700946_246162_1349843593_ce4a533089cfff62644411cd28097ac1.jpg resize: (1080, 1632) 1349843593 -4.470944332380269 treat image : temp/1743700946_246162_1349843589_ca60334e15982bb15fa6b9f3f0f7fe31.jpg resize: (1080, 1632) 1349843589 -6.091845727503424 treat image : temp/1743700946_246162_1349843586_45ae6aedac73af06cd66d569460365df.jpg resize: (1080, 1632) 1349843586 -6.097438038136212 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.027420759201049805 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.02890157699584961 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.030984163284301758 save missing photos in datou_result : time spend for datou_step_exec : 16.216586351394653 time spend to save output : 0.09960746765136719 total time spend for step 1 : 16.31619381904602 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.16user 3.92system 0:20.64elapsed 92%CPU (0avgtext+0avgdata 138288maxresident)k 152inputs+10792outputs (11major+250294minor)pagefaults 0swaps