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 : 885375 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 : 2440>100 please execute split_portfolio.py -i 21247263 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2656074'] with mtr_portfolio_ids : ['21247263'] and first list_photo_ids : [] new path : /proc/885375/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 2.1042098999023438 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 Tue Mar 11 13:22: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/1741695748_885375_1343021142_d09cace5079da84a784bd8da69abbefc.jpg resize: (1080, 1632) 1343021142 -5.860544041705766 treat image : temp/1741695748_885375_1343021117_a1e8112574cc2958110df088700cffa2.jpg resize: (1080, 1632) 1343021117 -5.94511011458852 treat image : temp/1741695748_885375_1343021076_f94e55d5a589ec3fe0d3f611fda35fe4.jpg resize: (1080, 1632) 1343021076 -5.675066987326018 treat image : temp/1741695748_885375_1343021015_4cdfd48212f55a4cfbc78d8634c9aa40.jpg resize: (1080, 1632) 1343021015 -5.6375812833623105 treat image : temp/1741695748_885375_1343020999_024249344623de1f7974a28a2e3cb164.jpg resize: (1080, 1632) 1343020999 -5.124474805083919 treat image : temp/1741695748_885375_1343020907_900759b603375ae79cce1e6fa6df9145.jpg resize: (1080, 1632) 1343020907 -5.569969887603407 treat image : temp/1741695748_885375_1343020546_55cbf39f6227a313fc7000fa5f8e5c59.jpg resize: (1080, 1632) 1343020546 -5.42939444928249 treat image : temp/1741695748_885375_1343020517_93c7a5be12f2ed37aa0d808bb2806dc7.jpg resize: (1080, 1632) 1343020517 -2.377247339160155 treat image : temp/1741695748_885375_1343020483_c31d1bb346506a24d98f15feb0ec09bc.jpg resize: (1080, 1632) 1343020483 -2.2674649549094776 treat image : temp/1741695748_885375_1343020475_4a33d51b0f74b5741c41ec1e38b5e19f.jpg resize: (1080, 1632) 1343020475 -5.3657628827011115 treat image : temp/1741695748_885375_1343020379_15a4e592c8bc38af0fe6d1e6158a25ec.jpg resize: (1080, 1632) 1343020379 -5.43689435252409 treat image : temp/1741695748_885375_1343020351_c3008a83138f626475fad148477b6933.jpg resize: (1080, 1632) 1343020351 -5.075522637007313 treat image : temp/1741695748_885375_1343020320_f2bbdd6b6a00d71a2b9a0c32fd61c9e6.jpg resize: (1080, 1632) 1343020320 -5.995017916289683 treat image : temp/1741695748_885375_1343020308_90575a51582f9543280909b871a49b2d.jpg resize: (1080, 1632) 1343020308 -4.534078211788379 treat image : temp/1741695748_885375_1343020291_f472db324ffefb7d6ec507a7d5991051.jpg resize: (1080, 1632) 1343020291 -5.480244163967501 treat image : temp/1741695748_885375_1343020274_4c07336960d2086d0ac0e63cf3c3d844.jpg resize: (1080, 1632) 1343020274 -5.356507146762706 treat image : temp/1741695748_885375_1343020145_1c13239ad010ead0401b3ad6352814b9.jpg resize: (1080, 1632) 1343020145 -5.677890197579595 treat image : temp/1741695748_885375_1343020108_0d7f90ee9c553f50267f260fe11e0763.jpg resize: (1080, 1632) 1343020108 -4.179491347882144 treat image : temp/1741695748_885375_1343020068_db1638f84fcadda7965930b9f5f06971.jpg resize: (1080, 1632) 1343020068 -5.325791590445261 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 : 19 time used for this insertion : 0.013603687286376953 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 19 time used for this insertion : 11.692667722702026 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.01678752899169922 save missing photos in datou_result : time spend for datou_step_exec : 17.0409197807312 time spend to save output : 11.72974681854248 total time spend for step 1 : 28.77066659927368 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 19 set_done_treatment 14.63user 5.18system 0:33.27elapsed 59%CPU (0avgtext+0avgdata 139000maxresident)k 5384inputs+9840outputs (52major+184494minor)pagefaults 0swaps