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 : 1783559 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 : 436>100 please execute split_portfolio.py -i 20234215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2547945'] with mtr_portfolio_ids : ['20234215'] and first list_photo_ids : [] new path : /proc/1783559/ 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.0783674716949463 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 Feb 5 03:02: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/1738720947_1783559_1334747402_5719091c427ce09ba15b601d3e3f6af0.jpg resize: (1080, 1632) 1334747402 -3.7783907912097745 treat image : temp/1738720947_1783559_1334747333_a069627db68d00be5bb345a4edad2c02.jpg resize: (1080, 1632) 1334747333 -5.7452245295832265 treat image : temp/1738720947_1783559_1334747266_9b74ef087647043a35c98966473676b1.jpg resize: (1080, 1632) 1334747266 -3.5524064788335936 treat image : temp/1738720947_1783559_1334746993_b538df855bf4d9ee26c191d1817bd998.jpg resize: (1080, 1632) 1334746993 -2.677216465510571 treat image : temp/1738720947_1783559_1334746924_5a52efe0042c47c834d2750133393e90.jpg resize: (1080, 1632) 1334746924 -4.6304642859504765 treat image : temp/1738720947_1783559_1334746842_8f5cd5288978cf0267979bd9685aa6ce.jpg resize: (1080, 1632) 1334746842 -3.5094980408640755 treat image : temp/1738720947_1783559_1334746768_29174079f9331fe892c2aaa93647bb5a.jpg resize: (1080, 1632) 1334746768 -4.615494515430143 treat image : temp/1738720947_1783559_1334746689_1f6037a429b0a5c18223814f685f6592.jpg resize: (1080, 1632) 1334746689 -5.797146758850448 treat image : temp/1738720947_1783559_1334743861_f8373523cc36e4095446b94c08c714ab.jpg resize: (1080, 1632) 1334743861 -4.37536234193926 treat image : temp/1738720947_1783559_1334743840_37485bf2d979171cd2e104d95a75c7cd.jpg resize: (1080, 1632) 1334743840 -0.8619722812201212 treat image : temp/1738720947_1783559_1334743839_a0fdf6673538d24e83b2967e9bb4c7e8.jpg resize: (1080, 1632) 1334743839 -2.536131242922383 treat image : temp/1738720947_1783559_1334743810_8bb08b4744ca2a1f6a5b9f3f18605ea3.jpg resize: (1080, 1632) 1334743810 -4.734020391270669 treat image : temp/1738720947_1783559_1334743260_f2576c85184627b77f3199fdebe7e346.jpg resize: (1080, 1632) 1334743260 -5.431924214691133 treat image : temp/1738720947_1783559_1334743257_1b9f5949d18deb9779a90453e21f6c42.jpg resize: (1080, 1632) 1334743257 -4.094415652398422 treat image : temp/1738720947_1783559_1334743254_92a2dfcf31bef617a9627bc2386d1825.jpg resize: (1080, 1632) 1334743254 -5.635239970493922 treat image : temp/1738720947_1783559_1334743251_e272dccdc7df7d4a8642d5a118e7535a.jpg resize: (1080, 1632) 1334743251 -3.2948959550912327 treat image : temp/1738720947_1783559_1334743192_8fcef0f311559f6adf880d9760da7200.jpg resize: (1080, 1632) 1334743192 -6.108067505213555 treat image : temp/1738720947_1783559_1334743188_a25d39766042cfff4fc00d06689813a1.jpg resize: (1080, 1632) 1334743188 -6.104955742366582 treat image : temp/1738720947_1783559_1334743185_8d63025d5a51695c4286614e1b0cd0a9.jpg resize: (1080, 1632) 1334743185 -6.536580628606358 treat image : temp/1738720947_1783559_1334743165_70afe60663e9a8f34ffeadc98caa5b49.jpg resize: (1080, 1632) 1334743165 -6.285043621446288 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.013828277587890625 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.06666755676269531 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016262054443359375 save missing photos in datou_result : time spend for datou_step_exec : 13.333680152893066 time spend to save output : 0.10193228721618652 total time spend for step 1 : 13.435612440109253 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.30user 1.81system 0:18.31elapsed 87%CPU (0avgtext+0avgdata 139172maxresident)k 0inputs+9880outputs (16major+118115minor)pagefaults 0swaps