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 : 1513175 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 : 3310>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/1513175/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.0736584663391113 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 Fri Jul 4 15:17:28 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/1751635046_1513175_1370631582_408b775747b8a76ffa2758d4d121e7aa.jpg resize: (1080, 1632) 1370631582 -6.220240576071454 treat image : temp/1751635046_1513175_1370631539_9fe1f5afb87f7884e3ca0b9563289f5d.jpg resize: (1080, 1632) 1370631539 -6.183734321381571 treat image : temp/1751635046_1513175_1370631537_c9feb9b997df5a8682b64b320cb97de1.jpg resize: (1080, 1632) 1370631537 -6.195265651509854 treat image : temp/1751635046_1513175_1370631534_ade44a7f8c494ec893c59dd706ce8880.jpg resize: (1080, 1632) 1370631534 -5.7166209470459135 treat image : temp/1751635046_1513175_1370631529_9906817e4973667f29d87464afa3635c.jpg resize: (1080, 1632) 1370631529 -5.43749123938337 treat image : temp/1751635046_1513175_1370631518_f8bbe50037913c2584a320b1245dc34d.jpg resize: (1080, 1632) 1370631518 -4.167270012793762 treat image : temp/1751635046_1513175_1370631463_8ee495b16257f5db3d94865af4956457.jpg resize: (1080, 1632) 1370631463 -4.650838565705388 treat image : temp/1751635046_1513175_1370631437_4f23f69caa75478477169cdf212f001d.jpg resize: (1080, 1632) 1370631437 -6.0217190216835705 treat image : temp/1751635046_1513175_1370631405_bb83f6e47f978b1720c333891240c58b.jpg resize: (1080, 1632) 1370631405 -5.759635107158988 treat image : temp/1751635046_1513175_1370631400_cb60d85e31873ffe6c8206816ad86965.jpg resize: (1080, 1632) 1370631400 -5.653707121471405 treat image : temp/1751635046_1513175_1370631391_20fecbcfbed4833705c4fe56ef789d96.jpg resize: (1080, 1632) 1370631391 -5.706510389135304 treat image : temp/1751635046_1513175_1370631385_18f6ab19239d655b0f81f6b941177490.jpg resize: (1080, 1632) 1370631385 -5.17346445739501 treat image : temp/1751635046_1513175_1370631313_ad70f221171122a9eb69cad7cf004d5e.jpg resize: (1080, 1632) 1370631313 -1.7151048019391932 treat image : temp/1751635046_1513175_1370631288_7d755171b6760efeded2dcfbf2e1ad5f.jpg resize: (1080, 1632) 1370631288 -2.118647420643666 treat image : temp/1751635046_1513175_1370631271_38511767fd8b7733c6f6fc1f794add58.jpg resize: (1080, 1632) 1370631271 -3.398574782164401 treat image : temp/1751635046_1513175_1370631250_b0da8593ae535b7c6aa1254965d76805.jpg resize: (1080, 1632) 1370631250 -6.046202302769137 treat image : temp/1751635046_1513175_1370631224_51eb3bfe194d527b9b07b46e6ace93af.jpg resize: (1080, 1632) 1370631224 -6.044124900096299 treat image : temp/1751635046_1513175_1370631216_0ac34dbfc8b8706e064b0b6e5ee90ddf.jpg resize: (1080, 1632) 1370631216 -6.002006076374973 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 : 18 time used for this insertion : 0.041289567947387695 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.036690711975097656 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.042989492416381836 save missing photos in datou_result : time spend for datou_step_exec : 14.778008222579956 time spend to save output : 0.13954973220825195 total time spend for step 1 : 14.917557954788208 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 13.17user 4.18system 0:19.08elapsed 90%CPU (0avgtext+0avgdata 137280maxresident)k 256inputs+9696outputs (39major+240659minor)pagefaults 0swaps