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 : 3661530 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 : 2626>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3661530/ 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.5884039402008057 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 May 21 17:42: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/1747842149_3661530_1360065135_2403aefad762d6d84e5f1459902bcbbe.jpg resize: (1080, 1632) 1360065135 -4.727045240372623 treat image : temp/1747842149_3661530_1360065106_4f398ba7f1951b6fa7d9c383d144ce75.jpg resize: (1080, 1632) 1360065106 -4.894868032599435 treat image : temp/1747842149_3661530_1360065075_13a7e0fb27aa1bccfc256bd2a1bf2914.jpg resize: (1080, 1632) 1360065075 -2.5259308479723734 treat image : temp/1747842149_3661530_1360065045_bb0cfbab34ebe49f589c582a16ba9854.jpg resize: (1080, 1632) 1360065045 -0.8269700265269846 treat image : temp/1747842149_3661530_1360064843_eb9ea09a6606f430a16fec8758fdeb71.jpg resize: (1080, 1632) 1360064843 -6.106772175662487 treat image : temp/1747842149_3661530_1360064813_925c373e7bda702a4f38109011386506.jpg resize: (1080, 1632) 1360064813 -5.583202028648798 treat image : temp/1747842149_3661530_1360064759_3761bf14f0435dd9a37fbd256e8bcd80.jpg resize: (1080, 1632) 1360064759 -3.3230567982379218 treat image : temp/1747842149_3661530_1360063923_ea3d9557642fbe1154c8b1135b352ee3.jpg resize: (1080, 1632) 1360063923 -5.1945356684121196 treat image : temp/1747842149_3661530_1360063896_3663896b144970acec8c66df27c34aed.jpg resize: (1080, 1632) 1360063896 -3.2106424864241845 treat image : temp/1747842149_3661530_1360063877_4f5440cd2ba68faac7e40392c951c459.jpg resize: (1080, 1632) 1360063877 -4.584630344645714 treat image : temp/1747842149_3661530_1360063870_45f1b88896960bb9b5e410e85e50724f.jpg resize: (1080, 1632) 1360063870 -4.125171801584796 treat image : temp/1747842149_3661530_1360063865_f866897952e2f651c33d385abcb61440.jpg resize: (1080, 1632) 1360063865 -4.506562256804414 treat image : temp/1747842149_3661530_1360063861_0d0a4a0e5e6d8cf3ca6d41b201e0dcb8.jpg resize: (1080, 1632) 1360063861 -5.764668543801318 treat image : temp/1747842149_3661530_1360063681_bafe71877a32506d0e7c1d6e2cf10d41.jpg resize: (1080, 1632) 1360063681 -1.5163328847479087 treat image : temp/1747842149_3661530_1360063657_e2f4fb88099c81e15a9de63eddaeac4b.jpg resize: (1080, 1632) 1360063657 -2.477232572416649 treat image : temp/1747842149_3661530_1360063626_d4d675ecebcc0c2cb51eb54f0305b5ab.jpg resize: (1080, 1632) 1360063626 -4.496801311766852 treat image : temp/1747842149_3661530_1360063598_17d4f23164040873fa213f952a610ad4.jpg resize: (1080, 1632) 1360063598 -4.617399806416905 treat image : temp/1747842149_3661530_1360063570_590be75a62cd0a6b1280bb2b6c3cf22a.jpg resize: (1080, 1632) 1360063570 -4.910178716312233 treat image : temp/1747842149_3661530_1360063540_084d0415ff0450bd8e5f15da3469d5c5.jpg resize: (1080, 1632) 1360063540 -4.928628205469105 treat image : temp/1747842149_3661530_1360061449_090df63c38ed7f3ca10abc7d3add02ff.jpg resize: (1080, 1632) 1360061449 -5.856615777478712 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.01605987548828125 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.027971506118774414 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015886783599853516 save missing photos in datou_result : time spend for datou_step_exec : 16.02988338470459 time spend to save output : 0.06497430801391602 total time spend for step 1 : 16.094857692718506 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.89user 3.75system 0:22.50elapsed 82%CPU (0avgtext+0avgdata 138816maxresident)k 208inputs+9136outputs (0major+256971minor)pagefaults 0swaps