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 : 2603744 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 : 4705>100 please execute split_portfolio.py -i 24449702 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3218216'] with mtr_portfolio_ids : ['24449702'] and first list_photo_ids : [] new path : /proc/2603744/ 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.8284337520599365 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 Jul 3 05:52:32 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/1751514749_2603744_1370177417_7a5b7fde800e8fbf08cfab5cf5cede3c.jpg resize: (1080, 1632) 1370177417 -4.8207810823755395 treat image : temp/1751514749_2603744_1370177416_bb2b5b4999f07b23da1523ed256c1a8f.jpg resize: (1080, 1632) 1370177416 -4.836114719641696 treat image : temp/1751514749_2603744_1370177415_1b3ab13183b50293cdde4787b6c3afb7.jpg resize: (1080, 1632) 1370177415 -4.796861025508904 treat image : temp/1751514749_2603744_1370177412_1cb2a4f6c82069ab9299332751d75ff1.jpg resize: (1080, 1632) 1370177412 -5.2408518682769465 treat image : temp/1751514749_2603744_1370177410_199febeb0c3f97f8b670e648699cf412.jpg resize: (1080, 1632) 1370177410 -5.281715921061621 treat image : temp/1751514749_2603744_1370176680_2a5395385325030052298b6128762299.jpg resize: (1080, 1632) 1370176680 -5.290085279149543 treat image : temp/1751514749_2603744_1370176619_2cf7c2d1628f987d1393da1659b814df.jpg resize: (1080, 1632) 1370176619 -1.101651302058113 treat image : temp/1751514749_2603744_1370176555_315033db9d21b9cc231da6a7de4ac2d9.jpg resize: (1080, 1632) 1370176555 -1.918878077835943 treat image : temp/1751514749_2603744_1370176489_754d4a350cfc39e41617338f5b7278ac.jpg resize: (1080, 1632) 1370176489 -2.9777332341043157 treat image : temp/1751514749_2603744_1370176416_3e17e91b3be160a74182f42d8e030e59.jpg resize: (1080, 1632) 1370176416 -3.0271395147141744 treat image : temp/1751514749_2603744_1370176349_d6d76c06acdf24b498f59ba3adfa5873.jpg resize: (1080, 1632) 1370176349 -3.008673102192122 treat image : temp/1751514749_2603744_1370175136_c981e8a38df0bdaf30f7ab847fd325fb.jpg resize: (1080, 1632) 1370175136 -3.0028848741105154 treat image : temp/1751514749_2603744_1370175059_eaaf280d63cbede3ed14892d4afeff4d.jpg resize: (1080, 1632) 1370175059 -1.5781332132102401 treat image : temp/1751514749_2603744_1370174996_bd174be2286ace1ad9d87bc901bbdbc1.jpg resize: (1080, 1632) 1370174996 -2.3535905735389675 treat image : temp/1751514749_2603744_1370174959_f17fd1c9552c107563ae9dc3941b15f2.jpg resize: (1080, 1632) 1370174959 -1.8545871974617463 treat image : temp/1751514749_2603744_1370174930_899df5247a528434e3300e2e256d94c4.jpg resize: (1080, 1632) 1370174930 -2.1592870781750877 treat image : temp/1751514749_2603744_1370174914_dc221fda359e8fb86a3bc26fa803ba89.jpg resize: (1080, 1632) 1370174914 -5.188665677397547 treat image : temp/1751514749_2603744_1370174783_42a071c05a0b1a263bd5a82403ed3c58.jpg resize: (1080, 1632) 1370174783 -5.189863367399855 treat image : temp/1751514749_2603744_1370174744_1e42e4c33429cc6a0a3d97e36f515c4f.jpg resize: (1080, 1632) 1370174744 -5.223703672034524 treat image : temp/1751514749_2603744_1370174689_d793ca721d8730223937ec534d404d7a.jpg resize: (1080, 1632) 1370174689 -5.402549585532053 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.01552438735961914 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.1896815299987793 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.14402198791503906 save missing photos in datou_result : time spend for datou_step_exec : 18.01814603805542 time spend to save output : 0.5467917919158936 total time spend for step 1 : 18.564937829971313 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.61user 5.91system 0:25.56elapsed 80%CPU (0avgtext+0avgdata 137976maxresident)k 39392inputs+8112outputs (2084major+265262minor)pagefaults 0swaps