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 : 2124029 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 : 1606>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/2124029/ 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.465796947479248 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 Mon May 12 12:22: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/1747045349_2124029_1357622724_a607df4c32cc409baa25a164a2b0b1fc.jpg resize: (1080, 1632) 1357622724 -5.7038646273038145 treat image : temp/1747045349_2124029_1357622534_b47616c3a0bc68321fd8e12a3dcb8790.jpg resize: (1080, 1632) 1357622534 -6.250483998770911 treat image : temp/1747045349_2124029_1357622508_bcb6bcc8638e0356f3b967c5c89e95f3.jpg resize: (1080, 1632) 1357622508 -3.751511853485855 treat image : temp/1747045349_2124029_1357622485_5d7e212f4334a2bd44f377e4b3918a8c.jpg resize: (1080, 1632) 1357622485 -1.3835593572537623 treat image : temp/1747045349_2124029_1357622444_73048d5efdafeb5f558d84fcabb9af74.jpg resize: (1080, 1632) 1357622444 -2.7695069796341536 treat image : temp/1747045349_2124029_1357622433_3dea2766e8eb9078b13d2b7a5ada7a0f.jpg resize: (1080, 1632) 1357622433 -5.244723316342105 treat image : temp/1747045349_2124029_1357622430_c0eb264f33a7ccb42debb8e90e3fc9c6.jpg resize: (1080, 1632) 1357622430 -6.977608758807744 treat image : temp/1747045349_2124029_1357622422_0a058351a3ebdef5587033ccc7b2596a.jpg resize: (1080, 1632) 1357622422 -6.367161645717053 treat image : temp/1747045349_2124029_1357622417_5817f27bdadc93b6b319e0a131f98fd9.jpg resize: (1080, 1632) 1357622417 -6.2503604360027145 treat image : temp/1747045349_2124029_1357622409_2e82b69c6371bbfe1219eee1d6b87375.jpg resize: (1080, 1632) 1357622409 -6.002387776824708 treat image : temp/1747045349_2124029_1357622364_33c417f1cf36d421ea6dd07fe7ce5f57.jpg resize: (1080, 1632) 1357622364 -5.694901566874808 treat image : temp/1747045349_2124029_1357622348_65b1c9d594e422872a74cbea06d6b0b8.jpg resize: (1080, 1632) 1357622348 -1.1837570478196286 treat image : temp/1747045349_2124029_1357622337_8e797ce233b3784be2dd4ec26e208535.jpg resize: (1080, 1632) 1357622337 -1.5432149854318147 treat image : temp/1747045349_2124029_1357622325_a8771296336f6cf716bdad9d496e7d1a.jpg resize: (1080, 1632) 1357622325 -1.4268914893336713 treat image : temp/1747045349_2124029_1357622203_36d93c86f2bc224c92ea61e0be56cd09.jpg resize: (1080, 1632) 1357622203 -5.429797504125678 treat image : temp/1747045349_2124029_1357622199_158c5968e26fc18dd0864e0e2bd7d98f.jpg resize: (1080, 1632) 1357622199 -6.210629513084759 treat image : temp/1747045349_2124029_1357622193_ef698e04512559d1b6d44a345afbc358.jpg resize: (1080, 1632) 1357622193 -3.542308602465954 treat image : temp/1747045349_2124029_1357622189_ada0f873049431124cd67eb1463146b2.jpg resize: (1080, 1632) 1357622189 -6.535785985441348 treat image : temp/1747045349_2124029_1357622185_786ad07a47b332601748cadd35c0cf11.jpg resize: (1080, 1632) 1357622185 -6.3195624940020805 treat image : temp/1747045349_2124029_1357622182_33c36e6e35590b3e8f51a96ddc7fa29b.jpg resize: (1080, 1632) 1357622182 -4.012125797054801 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.015814781188964844 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.014917612075805664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01799798011779785 save missing photos in datou_result : time spend for datou_step_exec : 15.194464683532715 time spend to save output : 0.05379462242126465 total time spend for step 1 : 15.24825930595398 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.46user 3.10system 0:21.61elapsed 81%CPU (0avgtext+0avgdata 140000maxresident)k 1288inputs+10440outputs (13major+260720minor)pagefaults 0swaps