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 : 417237 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 : 2689>100 please execute split_portfolio.py -i 20860610 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2618064'] with mtr_portfolio_ids : ['20860610'] and first list_photo_ids : [] new path : /proc/417237/ 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.073469638824463 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 Feb 27 17:37: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/1740674249_417237_1339952350_271b418ffb82d7ec8451353ce0714d13.jpg resize: (1080, 1632) 1339952350 -2.5719799600532904 treat image : temp/1740674249_417237_1339952341_0825dd62ebed9c73f9c3d88161f40f08.jpg resize: (1080, 1632) 1339952341 -2.5814255251863094 treat image : temp/1740674249_417237_1339952335_8d6c5f146ae16487f40a78ff1951688d.jpg resize: (1080, 1632) 1339952335 -2.8904420679059597 treat image : temp/1740674249_417237_1339952330_b44a982b18f38761c2e40738569341ae.jpg resize: (1080, 1632) 1339952330 -4.608677315601201 treat image : temp/1740674249_417237_1339952267_cfca12b886a89e28f8ec7aaadb1859a3.jpg resize: (1080, 1632) 1339952267 -6.2862559348770155 treat image : temp/1740674249_417237_1339952264_62a3855613d09ae21770aecb260c7f9d.jpg resize: (1080, 1632) 1339952264 -6.587801534481869 treat image : temp/1740674249_417237_1339952247_aab2ce49aa2dcabe22f1cd9e418308bc.jpg resize: (1080, 1632) 1339952247 -6.629664626907015 treat image : temp/1740674249_417237_1339952243_ee2292f026581d4289b1351dfb7da5a8.jpg resize: (1080, 1632) 1339952243 -4.708175596635354 treat image : temp/1740674249_417237_1339952237_a166d8b3f209dd39ba2b87b9f8a9a558.jpg resize: (1080, 1632) 1339952237 -6.3221540544269 treat image : temp/1740674249_417237_1339952233_cd026484b5da6020df9db0d635a8e85b.jpg resize: (1080, 1632) 1339952233 -4.613815651309539 treat image : temp/1740674249_417237_1339952228_d8a4556876e4b968f533e624392f4740.jpg resize: (1080, 1632) 1339952228 -6.413673085926355 treat image : temp/1740674249_417237_1339952224_5bb42a217ee5db48755ddb5044d89701.jpg resize: (1080, 1632) 1339952224 -6.478667290345778 treat image : temp/1740674249_417237_1339951956_a4f78723e7d3f5196fc299ddc765bd1c.jpg resize: (1080, 1632) 1339951956 -6.507890576678508 treat image : temp/1740674249_417237_1339951939_9f863d90cf1779d7ae4cd279103ca4a1.jpg resize: (1080, 1632) 1339951939 -6.495957276959312 treat image : temp/1740674249_417237_1339951927_66412d8b56b9960da88e77ffc3be6db8.jpg resize: (1080, 1632) 1339951927 -6.555731511751948 treat image : temp/1740674249_417237_1339951916_1a8b6d20cbc4699af656897fb645327e.jpg resize: (1080, 1632) 1339951916 -5.3582216444888395 treat image : temp/1740674249_417237_1339951880_bb240b3fb6e0f6b8783b502b39d21d54.jpg resize: (1080, 1632) 1339951880 -5.8512193106801575 treat image : temp/1740674249_417237_1339951873_6a7991473ed59fb5aeea3ec5a8a7852f.jpg resize: (1080, 1632) 1339951873 -5.997730909184122 treat image : temp/1740674249_417237_1339951866_d5c872ffd837f1eb91fb5dd51f1a5527.jpg resize: (1080, 1632) 1339951866 -5.929853075677037 treat image : temp/1740674249_417237_1339951854_f7b0616c50788bc1ed7c4a11e610db83.jpg resize: (1080, 1632) 1339951854 -4.3891965118106535 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.012602090835571289 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.013865232467651367 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013794422149658203 save missing photos in datou_result : time spend for datou_step_exec : 19.137298822402954 time spend to save output : 0.04531693458557129 total time spend for step 1 : 19.182615756988525 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 17.36user 4.34system 0:25.46elapsed 85%CPU (0avgtext+0avgdata 141288maxresident)k 2696inputs+11648outputs (20major+263149minor)pagefaults 0swaps