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 : 1347815 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 : 3893>100 please execute split_portfolio.py -i 23034647 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2869780'] with mtr_portfolio_ids : ['23034647'] and first list_photo_ids : [] new path : /proc/1347815/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 15 ; length of list_pids : 15 ; length of list_args : 15 time to download the photos : 1.948427438735962 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 Fri May 16 19:32:29 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/1747416747_1347815_1359040396_187776c329bf2c3834e38360fb94b0a6.jpg resize: (1080, 1632) 1359040396 -1.0206771945819313 treat image : temp/1747416747_1347815_1359040392_0deab9abc2b3b710607d0627bdc21202.jpg resize: (1080, 1632) 1359040392 -3.7148554098889472 treat image : temp/1747416747_1347815_1359040388_6e4608fc26209e5c4c09d947dc25b7d0.jpg resize: (1080, 1632) 1359040388 -5.215270594135472 treat image : temp/1747416747_1347815_1359040384_6645520f32ab43ba793bf3f06010c0b2.jpg resize: (1080, 1632) 1359040384 -5.137787381908059 treat image : temp/1747416747_1347815_1359040285_5c4c32b124f3f56fb3796c49f11d75cd.jpg resize: (1080, 1632) 1359040285 -4.737046845009757 treat image : temp/1747416747_1347815_1359040281_fce0e89ad2c78caad034e8f49364c5ab.jpg resize: (1080, 1632) 1359040281 -5.997739280727321 treat image : temp/1747416747_1347815_1359040277_52987d84292e443aca52e3477379b6fb.jpg resize: (1080, 1632) 1359040277 -6.07494192893062 treat image : temp/1747416747_1347815_1359040272_fae5ccfbe0c2546d7fb45e9504ef47f0.jpg resize: (1080, 1632) 1359040272 -5.88351922486381 treat image : temp/1747416747_1347815_1359040267_825e5ff71b0c46ca3889ed814cf4e77d.jpg resize: (1080, 1632) 1359040267 -4.265312409468209 treat image : temp/1747416747_1347815_1359040234_e1ec8a58454b0322583d6c7019571470.jpg resize: (1080, 1632) 1359040234 -5.277106693664488 treat image : temp/1747416747_1347815_1359040230_38c0c8c714f3be99258cb79e969a4f7c.jpg resize: (1080, 1632) 1359040230 -5.770497148390118 treat image : temp/1747416747_1347815_1359040227_8c6b0c2c79424855916d27a26f6443a0.jpg resize: (1080, 1632) 1359040227 -3.0956961842111754 treat image : temp/1747416747_1347815_1359040224_d3f706add5fb0ec93e78be2a620761ae.jpg resize: (1080, 1632) 1359040224 -5.546741044561089 treat image : temp/1747416747_1347815_1359040220_70909f6f1d58f993bd41985e12013161.jpg resize: (1080, 1632) 1359040220 -4.941411879615315 treat image : temp/1747416747_1347815_1359040216_4fcb8f9c6421e8642501fe853a7daae4.jpg resize: (1080, 1632) 1359040216 -4.715884910775231 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 : 15 time used for this insertion : 0.015302181243896484 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 15 time used for this insertion : 0.015549421310424805 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.016950130462646484 save missing photos in datou_result : time spend for datou_step_exec : 12.01816463470459 time spend to save output : 0.05299234390258789 total time spend for step 1 : 12.071156978607178 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 15 set_done_treatment 11.15user 3.31system 0:16.92elapsed 85%CPU (0avgtext+0avgdata 139444maxresident)k 88inputs+7288outputs (6major+211455minor)pagefaults 0swaps