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 : 3964625 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 : 6389>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/3964625/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371588377 complete_path : /home/admin/workarea/git/Velours/python/temp/1752249448_3964625_1371588377_630ae7e54a6c8a38f44672dd89a51a41.jpg FBHTTP Error 404: Not Found can't download the photo : 1371588374 complete_path : /home/admin/workarea/git/Velours/python/temp/1752249448_3964625_1371588374_3c53341cac79a725603bccee0a935a31.jpg FBHTTP Error 404: Not Found can't download the photo : 1371588371 complete_path : /home/admin/workarea/git/Velours/python/temp/1752249448_3964625_1371588371_32c54a9c3c15102a06e635416442279f.jpg FBFBHTTP Error 404: Not Found can't download the photo : 1371588311 complete_path : /home/admin/workarea/git/Velours/python/temp/1752249448_3964625_1371588311_56cdc645d3949699f397f47854deb3e6.jpg FBHTTP Error 404: Not Found can't download the photo : 1371588258 complete_path : /home/admin/workarea/git/Velours/python/temp/1752249448_3964625_1371588258_897f0b7de5f0f25e8362194bf8c2de57.jpg FBHTTP Error 404: Not Found can't download the photo : 1371588251 complete_path : /home/admin/workarea/git/Velours/python/temp/1752249448_3964625_1371588251_921bb5e93faca599182f1d44e22f19f9.jpg FBHTTP Error 404: Not Found can't download the photo : 1371588029 complete_path : /home/admin/workarea/git/Velours/python/temp/1752249448_3964625_1371588029_180d61e17bd229113941bf1b2d461d8f.jpg Fwe have missing 7 photos in the step downloads : photo missing : [1371588377, 1371588374, 1371588371, 1371588311, 1371588258, 1371588251, 1371588029] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371588377 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371588374 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371588371 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371588311 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371588258 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371588251 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371588029 length of list_filenames : 13 ; length of list_pids : 13 ; length of list_args : 13 time to download the photos : 4.437281370162964 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 Jul 11 17:57:33 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/1752249448_3964625_1371627462_a1b2cd9329eeeb2634969166a47ce717.jpg resize: (1080, 1632) 1371627462 -5.0124906975864 treat image : temp/1752249448_3964625_1371627458_fe85b206e116cc9c9c1e93e546e101bd.jpg resize: (1080, 1632) 1371627458 -5.007870713210956 treat image : temp/1752249448_3964625_1371627455_84f04af1880e75f6de1de6e847a33cff.jpg resize: (1080, 1632) 1371627455 -5.031577293283146 treat image : temp/1752249448_3964625_1371627451_ce6b02b2ab8a40023f310881a674e91b.jpg resize: (1080, 1632) 1371627451 -5.013224147234557 treat image : temp/1752249448_3964625_1371627411_760f9e913a5114d4ef1a4f231dcbfaeb.jpg resize: (1080, 1632) 1371627411 -4.309026905095023 treat image : temp/1752249448_3964625_1371627405_fd236786400cd7b73ca96450b14e8a25.jpg resize: (1080, 1632) 1371627405 -4.324118858951621 treat image : temp/1752249448_3964625_1371627399_2f154f4bdad63ae98a098146eada82f9.jpg resize: (1080, 1632) 1371627399 -4.350484301794692 treat image : temp/1752249448_3964625_1371627394_a2a77f7897cb05c3ddd96cd94e7df8ea.jpg resize: (1080, 1632) 1371627394 -4.348410223706209 treat image : temp/1752249448_3964625_1371627390_60a509ee4a54dd1e730a80a9c8a95dad.jpg resize: (1080, 1632) 1371627390 -4.380099487517308 treat image : temp/1752249448_3964625_1371627388_81cfdc31862d1b1479f4470e42be8067.jpg resize: (1080, 1632) 1371627388 -4.347192163828868 treat image : temp/1752249448_3964625_1371588517_56449013a1ead5bc93ab59c3e931ab26.jpg resize: (1080, 1632) 1371588517 -5.2349039135613005 treat image : temp/1752249448_3964625_1371588501_3fb0709931b44f6b8795a1948a16d6cd.jpg resize: (1080, 1632) 1371588501 -5.215920300594478 treat image : temp/1752249448_3964625_1371588364_9a573e4ce284f4ec4c09e70f8c09485b.jpg resize: (1080, 1632) 1371588364 -5.154509614683765 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 : 13 time used for this insertion : 0.013521909713745117 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 13 time used for this insertion : 0.011983871459960938 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.012938261032104492 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.011964797973632812 time spend for datou_step_exec : 10.368791103363037 time spend to save output : 0.054955244064331055 total time spend for step 1 : 10.423746347427368 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 9.81user 2.60system 0:18.10elapsed 68%CPU (0avgtext+0avgdata 138780maxresident)k 40inputs+6232outputs (3major+192991minor)pagefaults 0swaps