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 : 1213101 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 : 1686>100 please execute split_portfolio.py -i 21608215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2682218'] with mtr_portfolio_ids : ['21608215'] and first list_photo_ids : [] new path : /proc/1213101/ 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.013439178466797 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 Sat Mar 22 14:17: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/1742649446_1213101_1346429252_ef059c1ce1251f4cb20698dd0969e5b3.jpg resize: (1080, 1632) 1346429252 -6.080940047387751 treat image : temp/1742649446_1213101_1346429208_133335703fc77ebeca110df83fd3c677.jpg resize: (1080, 1632) 1346429208 -6.249909636267793 treat image : temp/1742649446_1213101_1346429185_4b74cb818a2e7ece5c09872fff34cd25.jpg resize: (1080, 1632) 1346429185 -5.825147995790216 treat image : temp/1742649446_1213101_1346429161_4552297842eec980b3090dfb59dc7010.jpg resize: (1080, 1632) 1346429161 -4.955087221381855 treat image : temp/1742649446_1213101_1346429141_fe1d7dc99b1c59e4a7036679301caef0.jpg resize: (1080, 1632) 1346429141 -6.03205237648826 treat image : temp/1742649446_1213101_1346429112_eda0a2fac39384ff784ab1b3a9996706.jpg resize: (1080, 1632) 1346429112 -5.96593508858365 treat image : temp/1742649446_1213101_1346429010_1fc8997e9fbf900e4a9ba2b41c240f71.jpg resize: (1080, 1632) 1346429010 -5.946006267887753 treat image : temp/1742649446_1213101_1346428994_7467b76f41d7a21bf966254edb7f6ecb.jpg resize: (1080, 1632) 1346428994 -6.04879610676088 treat image : temp/1742649446_1213101_1346428967_4c4af7355a17f3890ddefc26e8712f25.jpg resize: (1080, 1632) 1346428967 -6.093330986993476 treat image : temp/1742649446_1213101_1346428937_37ffa7bc9cf55e66c284e108e7820853.jpg resize: (1080, 1632) 1346428937 -2.373247572085695 treat image : temp/1742649446_1213101_1346428898_672555af4297d69a02ba10dbd2a99ab7.jpg resize: (1080, 1632) 1346428898 -2.52082441284129 treat image : temp/1742649446_1213101_1346428874_4653a1d4b8b1660f29b6ac7979f43a2a.jpg resize: (1080, 1632) 1346428874 -3.8684734299292205 treat image : temp/1742649446_1213101_1346428839_a4c4da49977ddc19a81e9d1b1ced678d.jpg resize: (1080, 1632) 1346428839 -2.817094506967102 treat image : temp/1742649446_1213101_1346428837_61c8c8958e1d3529b43fb50c49158b00.jpg resize: (1080, 1632) 1346428837 -4.600554990504832 treat image : temp/1742649446_1213101_1346428834_56ab14c499bf41a946352c307cf3632e.jpg resize: (1080, 1632) 1346428834 -5.302602255049863 treat image : temp/1742649446_1213101_1346428832_6f0162c88a59c3e186cf5155190e3131.jpg resize: (1080, 1632) 1346428832 -5.943486297674374 treat image : temp/1742649446_1213101_1346428828_543bc1a03664655912f37f453cc33db7.jpg resize: (1080, 1632) 1346428828 -4.908188485817493 treat image : temp/1742649446_1213101_1346428824_e1f3714404cb622ef3a5cb16ce917de2.jpg resize: (1080, 1632) 1346428824 -5.683941190986141 treat image : temp/1742649446_1213101_1346428812_3832da9a8af2d2247c61d6a0b703da12.jpg resize: (1080, 1632) 1346428812 -5.749697256361694 treat image : temp/1742649446_1213101_1346428800_90c3c517e47443e326b5d6c74528821e.jpg resize: (1080, 1632) 1346428800 -6.150415035073592 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.011774778366088867 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.011975288391113281 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015059709548950195 save missing photos in datou_result : time spend for datou_step_exec : 16.117513179779053 time spend to save output : 0.04324531555175781 total time spend for step 1 : 16.16075849533081 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.20user 4.31system 0:19.57elapsed 94%CPU (0avgtext+0avgdata 141304maxresident)k 0inputs+10872outputs (5major+254815minor)pagefaults 0swaps