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 : 4157836 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 : 3034>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/4157836/ 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 : 3.708350896835327 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 Wed May 21 20:27: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/1747852047_4157836_1360154633_f5c2db64059c685e9e5b3ffb11eb6f34.jpg resize: (1080, 1632) 1360154633 -5.258008540409056 treat image : temp/1747852047_4157836_1360146430_75fae2c61438a144d4a2c9372c2dbf44.jpg resize: (1080, 1632) 1360146430 -5.446771866776411 treat image : temp/1747852047_4157836_1360146379_093dbb6fa8431e91f42130279291a5ac.jpg resize: (1080, 1632) 1360146379 -5.989316056616047 treat image : temp/1747852047_4157836_1360145881_386f3df3d95dcfb5737e098ca7878e0d.jpg resize: (1080, 1632) 1360145881 -6.3648719890017675 treat image : temp/1747852047_4157836_1360145852_5c4c1be8266989b83f32e63e02de8d4f.jpg resize: (1080, 1632) 1360145852 -6.043673062031345 treat image : temp/1747852047_4157836_1360145798_1e077376a19d71cae004e329fc087c5d.jpg resize: (1080, 1632) 1360145798 -5.223344460595594 treat image : temp/1747852047_4157836_1360145739_5bf020d6915e931a7fe56aa18ff08029.jpg resize: (1080, 1632) 1360145739 -5.616813022007337 treat image : temp/1747852047_4157836_1360145686_78965311da2abab5996a3e963c8099c6.jpg resize: (1080, 1632) 1360145686 -2.3487103877181696 treat image : temp/1747852047_4157836_1360145099_aebb902174c2988929f33ceeceaf2b4c.jpg resize: (1080, 1632) 1360145099 -5.5821181282311585 treat image : temp/1747852047_4157836_1360145061_30882116d8b90d3425e9bd5711d80b60.jpg resize: (1080, 1632) 1360145061 -6.103294989410792 treat image : temp/1747852047_4157836_1360145018_ae9c7bebe6958b3e522f430c12885f96.jpg resize: (1080, 1632) 1360145018 -6.523690756465409 treat image : temp/1747852047_4157836_1360144965_9bf981774be8a26c11beafb6787e94ee.jpg resize: (1080, 1632) 1360144965 -5.273949916370377 treat image : temp/1747852047_4157836_1360144892_fb80ecc36b428cdffefa14a8f73a457d.jpg resize: (1080, 1632) 1360144892 -5.748236707752046 treat image : temp/1747852047_4157836_1360144827_c6e23f7bdff4704983b7b69039e5f04c.jpg resize: (1080, 1632) 1360144827 -5.798177512838269 treat image : temp/1747852047_4157836_1360133168_dcb7b7ae527cb0b24bace6d598282de7.jpg resize: (1080, 1632) 1360133168 -5.57153958999754 treat image : temp/1747852047_4157836_1360133139_08a2dd853d8d96c33576cb4cedeac1fd.jpg resize: (1080, 1632) 1360133139 -5.943519652221481 treat image : temp/1747852047_4157836_1360133112_af7e67d905d360d3e52dd9b9dabb452e.jpg resize: (1080, 1632) 1360133112 -5.619535177173628 treat image : temp/1747852047_4157836_1360133084_f447041a8f94bb72356e57a6630d0844.jpg resize: (1080, 1632) 1360133084 -1.4400068059784128 treat image : temp/1747852047_4157836_1360132850_46cae585f5acaf507764aac0188a8b8f.jpg resize: (1080, 1632) 1360132850 -3.2152587279319684 treat image : temp/1747852047_4157836_1360132767_7432e6900037143018065bec3bee8924.jpg resize: (1080, 1632) 1360132767 -5.9037229584414375 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.012501955032348633 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.012857198715209961 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014882087707519531 save missing photos in datou_result : time spend for datou_step_exec : 16.881742000579834 time spend to save output : 0.12854862213134766 total time spend for step 1 : 17.01029062271118 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.25user 4.75system 0:23.15elapsed 86%CPU (0avgtext+0avgdata 136868maxresident)k 3696inputs+11024outputs (19major+262163minor)pagefaults 0swaps