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 : 1227199 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 : 1621>100 please execute split_portfolio.py -i 26103981 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3565041'] with mtr_portfolio_ids : ['26103981'] and first list_photo_ids : [] new path : /proc/1227199/ 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.454928159713745 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 Aug 21 21:52: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/1755805946_1227199_1378253125_efaaa815946641c8d598a0b580413eca.jpg resize: (1080, 1632) 1378253125 -4.0420780554976385 treat image : temp/1755805946_1227199_1378253098_6f63e9ec05877b5efc99fedc2641a824.jpg resize: (1080, 1632) 1378253098 -1.069839917505677 treat image : temp/1755805946_1227199_1378253081_e2960901da2697a951080cd4b3d46a62.jpg resize: (1080, 1632) 1378253081 -2.656404201092442 treat image : temp/1755805946_1227199_1378253055_0e57af97ed2f86137278d03ae507e5d7.jpg resize: (1080, 1632) 1378253055 -5.269909557121512 treat image : temp/1755805946_1227199_1378253016_3b25c8cf3d2331f5fc209e4510ae2379.jpg resize: (1080, 1632) 1378253016 -5.181984186925714 treat image : temp/1755805946_1227199_1378252988_f23ff3ca9daafa845c1465fd3d33db3f.jpg resize: (1080, 1632) 1378252988 -5.1832516238515485 treat image : temp/1755805946_1227199_1378252719_9d9d44420f88c0efaa65b9aa633edaa3.jpg resize: (1080, 1632) 1378252719 -5.39193916243226 treat image : temp/1755805946_1227199_1378252688_12b8c63804403f9d3b63b0f8652dd543.jpg resize: (1080, 1632) 1378252688 -4.587513819229688 treat image : temp/1755805946_1227199_1378252663_b77e2c288f44cec9acd3c1f9cb46d7eb.jpg resize: (1080, 1632) 1378252663 -5.0955827890642444 treat image : temp/1755805946_1227199_1378252648_1366b3beffdfcd145f697a8139bbada9.jpg resize: (1080, 1632) 1378252648 -5.263475134143917 treat image : temp/1755805946_1227199_1378252647_22ebfee30f6c04d4bd3e9b9cebc47476.jpg resize: (1080, 1632) 1378252647 -4.740851434916061 treat image : temp/1755805946_1227199_1378252646_ddfaf8169f91b40cd1b2b740e469fbbd.jpg resize: (1080, 1632) 1378252646 -5.500818056327254 treat image : temp/1755805946_1227199_1378251379_3c7347f8b553de46f68d1f97c53f2bec.jpg resize: (1080, 1632) 1378251379 -0.7862901798517316 treat image : temp/1755805946_1227199_1378251326_b570598407bf16fc68acb88b91601cab.jpg resize: (1080, 1632) 1378251326 -3.1794058421583844 treat image : temp/1755805946_1227199_1378251284_3f425668b3afcf0e6bd6f683725f28ac.jpg resize: (1080, 1632) 1378251284 -2.941391355849047 treat image : temp/1755805946_1227199_1378251257_8e1092d5f6cd528b8e38bbdc648a3606.jpg resize: (1080, 1632) 1378251257 -5.242066562581992 treat image : temp/1755805946_1227199_1378251159_072aedf60e04fbb6350ec380b26a5509.jpg resize: (1080, 1632) 1378251159 -4.685954189183025 treat image : temp/1755805946_1227199_1378251129_6ab1d64070422f0fa73cc73387a47a6b.jpg resize: (1080, 1632) 1378251129 -5.1252659801317115 treat image : temp/1755805946_1227199_1378251091_1de5cb3878ca112c6d596baf87f66c0d.jpg resize: (1080, 1632) 1378251091 -5.108806697894352 treat image : temp/1755805946_1227199_1378251053_7392163dd49e3cd82a18bb3fa39beefc.jpg resize: (1080, 1632) 1378251053 -4.872900278186837 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.013533592224121094 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.012337923049926758 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013681650161743164 save missing photos in datou_result : time spend for datou_step_exec : 16.96202063560486 time spend to save output : 0.044379472732543945 total time spend for step 1 : 17.006400108337402 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.97user 4.50system 0:21.85elapsed 89%CPU (0avgtext+0avgdata 140704maxresident)k 80inputs+8768outputs (3major+256226minor)pagefaults 0swaps