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 : 1606529 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 : 2331>100 please execute split_portfolio.py -i 22700488 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2795252'] with mtr_portfolio_ids : ['22700488'] and first list_photo_ids : [] new path : /proc/1606529/ 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.5092978477478027 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 May 6 19:07: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/1746551248_1606529_1356386272_dafb8eec9bf654bd81bb3cc92d3495d1.jpg resize: (1080, 1632) 1356386272 -4.567651691740306 treat image : temp/1746551248_1606529_1356386248_65d21fdf91a029db3409600c99832b13.jpg resize: (1080, 1632) 1356386248 -4.20125492874318 treat image : temp/1746551248_1606529_1356386219_01752934dd7ef548fc6cc3bd8a64b3dd.jpg resize: (1080, 1632) 1356386219 -5.08202014996762 treat image : temp/1746551248_1606529_1356386207_9ba443eb24fb7dce8043fb64774711e7.jpg resize: (1080, 1632) 1356386207 -5.403733194997742 treat image : temp/1746551248_1606529_1356386204_92dc1edf3d0efceaf98c030f591ac31b.jpg resize: (1080, 1632) 1356386204 -5.677189091575219 treat image : temp/1746551248_1606529_1356386202_35522986df52590eb48aefb7dec76396.jpg resize: (1080, 1632) 1356386202 -3.999813186086521 treat image : temp/1746551248_1606529_1356386187_488c31e2ce3a0168a8298b10912377bb.jpg resize: (1080, 1632) 1356386187 -5.554344530563182 treat image : temp/1746551248_1606529_1356386156_115c99afdbe4fb06c255147ec1132d74.jpg resize: (1080, 1632) 1356386156 -6.095506913401151 treat image : temp/1746551248_1606529_1356386130_a2f8c5aea1fe8c830c79ef3c51f5d2c8.jpg resize: (1080, 1632) 1356386130 -1.723539019677139 treat image : temp/1746551248_1606529_1356386126_e0edbd507ec78729509a89351bd69a78.jpg resize: (1080, 1632) 1356386126 -3.5238938919286773 treat image : temp/1746551248_1606529_1356386122_4f7b3ec9950c83fc956b57c703170612.jpg resize: (1080, 1632) 1356386122 -5.156316542278038 treat image : temp/1746551248_1606529_1356386116_a7c938496b7896bec515df96399c3e3d.jpg resize: (1080, 1632) 1356386116 -5.633540299419774 treat image : temp/1746551248_1606529_1356385718_c799acaaa2a6abc12db9fc02e90a17f7.jpg resize: (1080, 1632) 1356385718 -3.0683733139147047 treat image : temp/1746551248_1606529_1356385712_269c5f5cd26c70f6b907d1ace3cdfa8d.jpg resize: (1080, 1632) 1356385712 -3.056212115576026 treat image : temp/1746551248_1606529_1356385696_b3cfb43e0fac577db7e29d362fad17ea.jpg resize: (1080, 1632) 1356385696 -5.416760360974799 treat image : temp/1746551248_1606529_1356385648_abc47dc3b860c5cf82e9a68e9462ae5d.jpg resize: (1080, 1632) 1356385648 -4.816470080994955 treat image : temp/1746551248_1606529_1356385559_dfff131c55a34dc6e10a5f74abf0dd58.jpg resize: (1080, 1632) 1356385559 -1.3269800087212524 treat image : temp/1746551248_1606529_1356385541_67670d24bde55675a9c990d559ba8daf.jpg resize: (1080, 1632) 1356385541 -3.1606106318776686 treat image : temp/1746551248_1606529_1356385535_e72f7895d5c26b9ea39527ca8e0989ea.jpg resize: (1080, 1632) 1356385535 -4.5578639203184705 treat image : temp/1746551248_1606529_1356385523_eb27c2e9b3d302989770e351949fa1a4.jpg resize: (1080, 1632) 1356385523 -4.503329016433074 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.013921260833740234 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.012627363204956055 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01544332504272461 save missing photos in datou_result : time spend for datou_step_exec : 17.267783641815186 time spend to save output : 0.046961069107055664 total time spend for step 1 : 17.31474471092224 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.70user 4.77system 0:23.16elapsed 84%CPU (0avgtext+0avgdata 141748maxresident)k 136inputs+9384outputs (12major+203120minor)pagefaults 0swaps