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 : 1815342 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 : 4540>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/1815342/ 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.3608531951904297 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 Fri Jul 4 17:47:28 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/1751644046_1815342_1370659665_d411dbe737db307ce81f899f170dbc82.jpg resize: (1080, 1632) 1370659665 -3.7219200893316478 treat image : temp/1751644046_1815342_1370659657_57ddd738b518b316fef434aed3903fb3.jpg resize: (1080, 1632) 1370659657 -3.737380294156471 treat image : temp/1751644046_1815342_1370659651_6466a7eec1d0dfd0d5ce91b631245e12.jpg resize: (1080, 1632) 1370659651 -3.720103395830946 treat image : temp/1751644046_1815342_1370659646_eda15311fe0b65252687fb760d3c6e1f.jpg resize: (1080, 1632) 1370659646 -3.7206837711517777 treat image : temp/1751644046_1815342_1370659640_fc0d485979e70d61331939d7e6aef37d.jpg resize: (1080, 1632) 1370659640 -3.728509928172071 treat image : temp/1751644046_1815342_1370659636_6a4c48fafaf3a5bd722f216c8dc34b82.jpg resize: (1080, 1632) 1370659636 -3.731437623216392 treat image : temp/1751644046_1815342_1370659614_dafc8a2bddcadd1807ba9c27a005ad70.jpg resize: (1080, 1632) 1370659614 -3.696263904899592 treat image : temp/1751644046_1815342_1370659612_44b8e0291130661abf99a01c0d460d72.jpg resize: (1080, 1632) 1370659612 -3.696263904899592 treat image : temp/1751644046_1815342_1370659610_acc95a53d18fa053c5e53b78afc97f3a.jpg resize: (1080, 1632) 1370659610 -3.711599735440006 treat image : temp/1751644046_1815342_1370659609_7d4e541c2d6a2489597df613761dc6ad.jpg resize: (1080, 1632) 1370659609 -3.711599735440006 treat image : temp/1751644046_1815342_1370659604_49f315be547a506bd769764d6e09bdea.jpg resize: (1080, 1632) 1370659604 -3.7191796104020645 treat image : temp/1751644046_1815342_1370659603_de9011da6e8c8ddb4e8fef2c426f22ba.jpg resize: (1080, 1632) 1370659603 -3.7191796104020645 treat image : temp/1751644046_1815342_1370659598_56185c5291d85020756be19b88c3dba4.jpg resize: (1080, 1632) 1370659598 -3.7245491161806656 treat image : temp/1751644046_1815342_1370659597_5f454d57272279b7654dfb5583ed4ee3.jpg resize: (1080, 1632) 1370659597 -3.7245491161806656 treat image : temp/1751644046_1815342_1370659592_4ae8f2cd83b188740fc5782ab03d3544.jpg resize: (1080, 1632) 1370659592 -3.7186177575500077 treat image : temp/1751644046_1815342_1370659591_8fa58b907e61de0ad364e3a1ab53e8ef.jpg resize: (1080, 1632) 1370659591 -3.7186177575500077 treat image : temp/1751644046_1815342_1370659586_176fdb1d43e1b6a0d571909ef2125e39.jpg resize: (1080, 1632) 1370659586 -3.7230392937609342 treat image : temp/1751644046_1815342_1370659585_dceb99da84cb9d28d8fc1bbe83a644e7.jpg resize: (1080, 1632) 1370659585 -3.7230392937609342 treat image : temp/1751644046_1815342_1370659567_d6f219c8df872a72b7a37577f9d5e079.jpg resize: (1080, 1632) 1370659567 -2.51490176988536 treat image : temp/1751644046_1815342_1370659563_8e9c5bc240534b713c6deb9368ff41f6.jpg resize: (1080, 1632) 1370659563 -5.731142429457445 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.015598297119140625 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.015471220016479492 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01545262336730957 save missing photos in datou_result : time spend for datou_step_exec : 15.26504898071289 time spend to save output : 0.05086827278137207 total time spend for step 1 : 15.315917253494263 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.82user 3.87system 0:19.27elapsed 91%CPU (0avgtext+0avgdata 136664maxresident)k 144inputs+7976outputs (20major+247316minor)pagefaults 0swaps