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 : 4112459 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 : 5506>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/4112459/ 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.7387373447418213 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 Tue Sep 16 23:57: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/1758059848_4112459_1383502718_068d2dadc35dd72bc13a23a143af7bf4.jpg resize: (1080, 1632) 1383502718 -2.0898585080552294 treat image : temp/1758059848_4112459_1383502429_c5d47d0227f5d61818501bf9850b2d06.jpg resize: (1080, 1632) 1383502429 -0.7263665116814613 treat image : temp/1758059848_4112459_1383502400_62f82101557dfc491a30373b34970f12.jpg resize: (1080, 1632) 1383502400 -2.357242283478607 treat image : temp/1758059848_4112459_1383502393_ee4b9cf9967da213ff0a94c5ad499f40.jpg resize: (1080, 1632) 1383502393 -2.516018313013771 treat image : temp/1758059848_4112459_1383502392_9613fe1a1d4d1cdc27e06ca071ee0310.jpg resize: (1080, 1632) 1383502392 -5.199928376919253 treat image : temp/1758059848_4112459_1383502391_bfc85598e2608cd3e382d362d8a82a69.jpg resize: (1080, 1632) 1383502391 -4.672543097492567 treat image : temp/1758059848_4112459_1383502378_d0782bc0a9f865cec05e5f6e95f757bf.jpg resize: (1080, 1632) 1383502378 -2.6082962001094105 treat image : temp/1758059848_4112459_1383502372_8c2ab40003b5b634319521916c0cc753.jpg resize: (1080, 1632) 1383502372 -6.078100940413887 treat image : temp/1758059848_4112459_1383502369_f356bd23e594c349b77340a891de30e1.jpg resize: (1080, 1632) 1383502369 -3.7233140053511833 treat image : temp/1758059848_4112459_1383502366_055fda4029960f9d9808addb2b8bda17.jpg resize: (1080, 1632) 1383502366 -5.299050025903824 treat image : temp/1758059848_4112459_1383502364_56ec114b1bef347b67ea5a0696e65d0e.jpg resize: (1080, 1632) 1383502364 -5.309104106351281 treat image : temp/1758059848_4112459_1383502360_5c9985c6c78676bb9d7b85916331b7ed.jpg resize: (1080, 1632) 1383502360 -3.8199476650053836 treat image : temp/1758059848_4112459_1383502228_762c371ac1eea89d149d6f3c93f66a60.jpg resize: (1080, 1632) 1383502228 -5.083693874696673 treat image : temp/1758059848_4112459_1383502203_4a808c45f5ce2671fc7164f7abaac9c8.jpg resize: (1080, 1632) 1383502203 -4.177147846568053 treat image : temp/1758059848_4112459_1383502175_17bacbbbb192c409292c7dc064b889c8.jpg resize: (1080, 1632) 1383502175 -5.87788771818521 treat image : temp/1758059848_4112459_1383502132_bed1648d3ce2f33fd85182b0a6cc6def.jpg resize: (1080, 1632) 1383502132 -3.0335588622741896 treat image : temp/1758059848_4112459_1383502130_c0f257d649047a5b078531f7fb9deb42.jpg resize: (1080, 1632) 1383502130 -1.419224905486432 treat image : temp/1758059848_4112459_1383502061_c6be4462cea3132f881ea4b3818ad601.jpg resize: (1080, 1632) 1383502061 -1.9505638725750956 treat image : temp/1758059848_4112459_1383502033_7b3f4f3dcc69baa28b1444a8cd9d49d1.jpg resize: (1080, 1632) 1383502033 -5.092567901049117 treat image : temp/1758059848_4112459_1383502012_85e5f650d3d157f699fe873e3ee2cf85.jpg resize: (1080, 1632) 1383502012 -5.088316688325183 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.015063285827636719 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.018920421600341797 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01925945281982422 save missing photos in datou_result : time spend for datou_step_exec : 16.31564164161682 time spend to save output : 0.05850100517272949 total time spend for step 1 : 16.37414264678955 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.62user 4.19system 0:23.46elapsed 80%CPU (0avgtext+0avgdata 138440maxresident)k 4768inputs+9128outputs (50major+252614minor)pagefaults 0swaps