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 : 1141213 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 : 3076>100 please execute split_portfolio.py -i 22126404 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2730774'] with mtr_portfolio_ids : ['22126404'] and first list_photo_ids : [] new path : /proc/1141213/ 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.0990920066833496 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 Apr 9 13:12: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/1744197148_1141213_1350669400_a471df1d6913a05c180cfa75b83bfd55.jpg resize: (1080, 1632) 1350669400 -1.4868332539546334 treat image : temp/1744197148_1141213_1350669397_818c85902a6e7f73f2eb351ebd38a818.jpg resize: (1080, 1632) 1350669397 -3.2899115598935267 treat image : temp/1744197148_1141213_1350669394_ce3d454707bf72062cef6781490447c0.jpg resize: (1080, 1632) 1350669394 -2.0605189786484344 treat image : temp/1744197148_1141213_1350669388_2f9d9d5329b8f16591e1990ab9f54c93.jpg resize: (1080, 1632) 1350669388 -5.401653114156135 treat image : temp/1744197148_1141213_1350669385_30cd4dc4cdebb6d301052c27b9d20944.jpg resize: (1080, 1632) 1350669385 -5.656171848518761 treat image : temp/1744197148_1141213_1350669367_c85b4d24d3b0cf15036f389f490df44b.jpg resize: (1080, 1632) 1350669367 -5.398378569462111 treat image : temp/1744197148_1141213_1350669361_aca1d382dcc7fc3b75d63e4537af7b9c.jpg resize: (1080, 1632) 1350669361 -5.695697524161591 treat image : temp/1744197148_1141213_1350669358_1bf0632de04b06e03a47aeef0fc54f91.jpg resize: (1080, 1632) 1350669358 -5.353773225656431 treat image : temp/1744197148_1141213_1350669356_23c0bf51060cd0cf05c17bcf3f574d5a.jpg resize: (1080, 1632) 1350669356 -3.205514122337647 treat image : temp/1744197148_1141213_1350669354_49b2412bb8250cc95a072b9fd286a20d.jpg resize: (1080, 1632) 1350669354 -5.038799335380526 treat image : temp/1744197148_1141213_1350669352_e197d1898c17742de992b99eb38187e2.jpg resize: (1080, 1632) 1350669352 -1.9423168185733635 treat image : temp/1744197148_1141213_1350669329_1d60318f2603c231bc60ebba54b08845.jpg resize: (1080, 1632) 1350669329 -6.274555265748802 treat image : temp/1744197148_1141213_1350669324_1a7d225e3cb5526726a13f74d5983a6d.jpg resize: (1080, 1632) 1350669324 -5.99042761805719 treat image : temp/1744197148_1141213_1350669320_09bac0ac37dfc37be51a96709f7021b3.jpg resize: (1080, 1632) 1350669320 -4.321386188443254 treat image : temp/1744197148_1141213_1350669317_d6fb9e1de747b1f447cb4b0065485122.jpg resize: (1080, 1632) 1350669317 -5.621723195082048 treat image : temp/1744197148_1141213_1350669315_d9c8009928d90a26e1c4534b34b109cd.jpg resize: (1080, 1632) 1350669315 -5.661800764688976 treat image : temp/1744197148_1141213_1350669314_ae387bcce50b7753b2c01df113ccc969.jpg resize: (1080, 1632) 1350669314 -5.454860426338719 treat image : temp/1744197148_1141213_1350669288_5d46f1f72f4dd810c7bc53260b0f1c8b.jpg resize: (1080, 1632) 1350669288 -1.3358040517469376 treat image : temp/1744197148_1141213_1350669286_d2380695d647a3d1e5f83d9a4604a380.jpg resize: (1080, 1632) 1350669286 -4.734552853023624 treat image : temp/1744197148_1141213_1350669284_fa11220ae6cb79bed5ce94f67b728bb4.jpg resize: (1080, 1632) 1350669284 -6.0551360687942255 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.040410518646240234 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.013231992721557617 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014923334121704102 save missing photos in datou_result : time spend for datou_step_exec : 15.730695724487305 time spend to save output : 0.0731515884399414 total time spend for step 1 : 15.803847312927246 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.87user 3.35system 0:21.86elapsed 83%CPU (0avgtext+0avgdata 137796maxresident)k 64inputs+9640outputs (14major+252820minor)pagefaults 0swaps