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 : 2367460 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 : 186>100 please execute split_portfolio.py -i 22453456 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2764509'] with mtr_portfolio_ids : ['22453456'] and first list_photo_ids : [] new path : /proc/2367460/ 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.372420072555542 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 Mon Apr 28 15:02: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/1745845347_2367460_1353932757_b783e2b5ff6dda2383cc1aeb6c569d39.jpg resize: (1080, 1632) 1353932757 -4.568495702884757 treat image : temp/1745845347_2367460_1353932735_a82e89e9dc9968d9e5c3881f045e7988.jpg resize: (1080, 1632) 1353932735 -6.311798191730131 treat image : temp/1745845347_2367460_1353932707_04f83ddc2e29835a745c39796b81bdf3.jpg resize: (1080, 1632) 1353932707 -6.0473552494154355 treat image : temp/1745845347_2367460_1353932672_f66d522a654b71687e71606c4616a96e.jpg resize: (1080, 1632) 1353932672 -5.6185837091350415 treat image : temp/1745845347_2367460_1353932626_b6839bb8463c6d60a5e7b076f06c0c87.jpg resize: (1080, 1632) 1353932626 -5.386168511040463 treat image : temp/1745845347_2367460_1353932598_93aa323eeca20ed82748aa25a4a49a62.jpg resize: (1080, 1632) 1353932598 -6.019618433027715 treat image : temp/1745845347_2367460_1353930344_e44d9f7416bfb7b4e154fc0c6a8b0821.jpg resize: (1080, 1632) 1353930344 -3.1966455487691268 treat image : temp/1745845347_2367460_1353930272_82b79279aa37a3f2396d5e837952bbef.jpg resize: (1080, 1632) 1353930272 -4.778193904626975 treat image : temp/1745845347_2367460_1353930217_d0dfc5e6169e077efec3aef536fef12a.jpg resize: (1080, 1632) 1353930217 -5.187559217853502 treat image : temp/1745845347_2367460_1353930189_adcb0a58eda38a40929a273c03506132.jpg resize: (1080, 1632) 1353930189 -5.647119155146514 treat image : temp/1745845347_2367460_1353929519_786363e62a531b8c7512da3fe58667cc.jpg resize: (1080, 1632) 1353929519 -5.834731686930153 treat image : temp/1745845347_2367460_1353929515_fd36a1b5e6bec45c62497621bb6794fb.jpg resize: (1080, 1632) 1353929515 -5.834731686930153 treat image : temp/1745845347_2367460_1353929501_52f9f7232df7af1219242ee7f946513e.jpg resize: (1080, 1632) 1353929501 -5.760060168154703 treat image : temp/1745845347_2367460_1353929489_6fbc521066753b0736400fa3025d1492.jpg resize: (1080, 1632) 1353929489 -5.760060168154703 treat image : temp/1745845347_2367460_1353929468_cc25ab33da9dd9c8795ea3be359f53e5.jpg resize: (1080, 1632) 1353929468 -6.260050703645389 treat image : temp/1745845347_2367460_1353929454_dd24fc32698bcdc2e7cbcde1852b90cc.jpg resize: (1080, 1632) 1353929454 -6.260050703645389 treat image : temp/1745845347_2367460_1353929436_f0055f9f1d9090237b7afa1336923483.jpg resize: (1080, 1632) 1353929436 -6.716330329685774 treat image : temp/1745845347_2367460_1353929429_358809e95fcd941da0e7b628fedcf4de.jpg resize: (1080, 1632) 1353929429 -6.716330329685774 treat image : temp/1745845347_2367460_1353929427_7b5220fd874ece3de8e8f240ac89caa5.jpg resize: (1080, 1632) 1353929427 -3.3507883622617345 treat image : temp/1745845347_2367460_1353929423_ebfffa1f232b82fc643a5a4c8b6c77c7.jpg resize: (1080, 1632) 1353929423 -3.3507883622617345 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.013824462890625 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.012175559997558594 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014749288558959961 save missing photos in datou_result : time spend for datou_step_exec : 18.722244262695312 time spend to save output : 0.04695749282836914 total time spend for step 1 : 18.76920175552368 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.26user 5.87system 0:22.88elapsed 92%CPU (0avgtext+0avgdata 139956maxresident)k 0inputs+11512outputs (3major+260543minor)pagefaults 0swaps