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 : 3965079 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 : 3572>100 please execute split_portfolio.py -i 21602882 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681004'] with mtr_portfolio_ids : ['21602882'] and first list_photo_ids : [] new path : /proc/3965079/ 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.385300874710083 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 Sat Mar 22 06:27:31 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/1742621248_3965079_1346343555_a16ee515d9149519ddce33fc3786ee2a.jpg resize: (1080, 1632) 1346343555 -6.29812580379904 treat image : temp/1742621248_3965079_1346343550_2a11ab03203b57efd602434678ef4b7d.jpg resize: (1080, 1632) 1346343550 -4.1980738957684665 treat image : temp/1742621248_3965079_1346343545_6d8a83393d8c3e67f68737504d41263f.jpg resize: (1080, 1632) 1346343545 -5.901221658215008 treat image : temp/1742621248_3965079_1346343539_d92491a26f19ae4878921bd691e2b5b9.jpg resize: (1080, 1632) 1346343539 -6.274670230930407 treat image : temp/1742621248_3965079_1346343534_1aed27f305e58c755ee9b3059d990092.jpg resize: (1080, 1632) 1346343534 -5.881360313808321 treat image : temp/1742621248_3965079_1346343529_c271b30d5c7b0a8d65042e091ecbc867.jpg resize: (1080, 1632) 1346343529 -6.269848802071955 treat image : temp/1742621248_3965079_1346343522_672ffb33e9439facfcfb8ea4ff08595e.jpg resize: (1080, 1632) 1346343522 -6.6678273530489225 treat image : temp/1742621248_3965079_1346343520_9990c212d5479234846ac20c9978113e.jpg resize: (1080, 1632) 1346343520 -2.4886419441582457 treat image : temp/1742621248_3965079_1346343518_a68310171099666016759b1b0e849deb.jpg resize: (1080, 1632) 1346343518 -3.488064264103852 treat image : temp/1742621248_3965079_1346343515_8f4330bff68ffd1da0b73b1d3755aa55.jpg resize: (1080, 1632) 1346343515 -3.1884720247217944 treat image : temp/1742621248_3965079_1346343513_47c5abd8e6b8e73f8e64f4284a70ba64.jpg resize: (1080, 1632) 1346343513 -6.25206961994264 treat image : temp/1742621248_3965079_1346343509_114be6698feff9e70b6e548e29614251.jpg resize: (1080, 1632) 1346343509 -6.221356944592209 treat image : temp/1742621248_3965079_1346341050_1afd9f3a8fb2457e0bed881c9fda86ae.jpg resize: (1080, 1632) 1346341050 -5.132734892775038 treat image : temp/1742621248_3965079_1346341041_d8279ad96f6d4e33c1835621e1cec6be.jpg resize: (1080, 1632) 1346341041 -5.613940326917879 treat image : temp/1742621248_3965079_1346339873_f0a527075a5ce5094bedf9893da3a77d.jpg resize: (1080, 1632) 1346339873 -5.404625241897944 treat image : temp/1742621248_3965079_1346339870_0db5be485bc6f91d98878806a086d3d1.jpg resize: (1080, 1632) 1346339870 -5.493191604677379 treat image : temp/1742621248_3965079_1346339559_bf351de76ff05c2bec62be767e4ec890.jpg resize: (1080, 1632) 1346339559 -6.601607873868405 treat image : temp/1742621248_3965079_1346339557_6cf15a785d462952464ab98da8140f5f.jpg resize: (1080, 1632) 1346339557 -6.56178150862502 treat image : temp/1742621248_3965079_1346339554_1d7e6112080b10200f9f134af2c273a6.jpg resize: (1080, 1632) 1346339554 -3.933693902532194 treat image : temp/1742621248_3965079_1346339552_bfaac937b6aaecc723f95573c41ba492.jpg resize: (1080, 1632) 1346339552 -2.5132628684951106 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.021672487258911133 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.019448518753051758 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014732599258422852 save missing photos in datou_result : time spend for datou_step_exec : 15.966809272766113 time spend to save output : 0.060333251953125 total time spend for step 1 : 16.02714252471924 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.91user 4.32system 0:22.31elapsed 81%CPU (0avgtext+0avgdata 141728maxresident)k 144inputs+11144outputs (12major+259892minor)pagefaults 0swaps