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 : 107224 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 : 7625>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/107224/ 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 ! BFBFBFBFBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371582322 complete_path : /home/admin/workarea/git/Velours/python/temp/1752256648_107224_1371582322_34730d1a057ac50cffae336b213a2565.jpg FBHTTP Error 404: Not Found can't download the photo : 1371582221 complete_path : /home/admin/workarea/git/Velours/python/temp/1752256648_107224_1371582221_b0de22abd86a3c3c4fff3b0c37c2a649.jpg FBHTTP Error 404: Not Found can't download the photo : 1371582199 complete_path : /home/admin/workarea/git/Velours/python/temp/1752256648_107224_1371582199_5aa1c50d1d519cfd3fec2c8adc7b1a31.jpg FBHTTP Error 404: Not Found can't download the photo : 1371581876 complete_path : /home/admin/workarea/git/Velours/python/temp/1752256648_107224_1371581876_314055d5e81e27da8125dcdd6ac86a46.jpg FBFBFBHTTP Error 404: Not Found can't download the photo : 1371581730 complete_path : /home/admin/workarea/git/Velours/python/temp/1752256648_107224_1371581730_ac4d7400580d9cfbf0184b6d7afe67ac.jpg FBFBHTTP Error 404: Not Found can't download the photo : 1371581605 complete_path : /home/admin/workarea/git/Velours/python/temp/1752256648_107224_1371581605_e9ec58024defe8f921df0a8e6c9f9c5c.jpg FBFBFBFwe have missing 6 photos in the step downloads : photo missing : [1371582322, 1371582221, 1371582199, 1371581876, 1371581730, 1371581605] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371582322 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371582221 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371582199 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371581876 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371581730 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371581605 length of list_filenames : 14 ; length of list_pids : 14 ; length of list_args : 14 time to download the photos : 4.252788782119751 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 19:57: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/1752256648_107224_1371650851_90a77cda9edb29a9bdafe95421bbbcf6.jpg resize: (1080, 1632) 1371650851 -3.4076121007014715 treat image : temp/1752256648_107224_1371650845_93be990986798733792efdb5b1816fbd.jpg resize: (1080, 1632) 1371650845 -1.5469556700538165 treat image : temp/1752256648_107224_1371650828_03d172d09dee3ba5283d30f02d40b8c7.jpg resize: (1080, 1632) 1371650828 -1.27299546295427 treat image : temp/1752256648_107224_1371650824_b1191aead1104785ce4455e808187653.jpg resize: (1080, 1632) 1371650824 -2.1129380284466723 treat image : temp/1752256648_107224_1371650659_bc4df2558e5088efca24dc075397e3e3.jpg resize: (1080, 1632) 1371650659 -2.6245185524703705 treat image : temp/1752256648_107224_1371650653_478dd2479dd8be7f52f9ab3d96fe6bb0.jpg resize: (1080, 1632) 1371650653 -4.5973383764365865 treat image : temp/1752256648_107224_1371650647_ad7e9537ac15e8b8614ecd7bb4410ebc.jpg resize: (1080, 1632) 1371650647 -5.731658036391801 treat image : temp/1752256648_107224_1371650643_288a492d51a4b7d38f45c8d2d1f0b66a.jpg resize: (1080, 1632) 1371650643 -5.768427640909152 treat image : temp/1752256648_107224_1371581871_e17ace2669a76f3a1554bee492575bcf.jpg resize: (1080, 1632) 1371581871 -5.157086028197799 treat image : temp/1752256648_107224_1371581752_0e29e28b754af5dd217388428f74ec52.jpg resize: (1080, 1632) 1371581752 -4.934116217014379 treat image : temp/1752256648_107224_1371581712_592857ac4b83bbe3dfa9e8a0f750713f.jpg resize: (1080, 1632) 1371581712 -5.207530240782368 treat image : temp/1752256648_107224_1371581600_9321f048722fa1e7735ce648c3d622a8.jpg resize: (1080, 1632) 1371581600 -4.972064483569339 treat image : temp/1752256648_107224_1371580878_a76a588ca6daf8839694049b83638124.jpg resize: (1080, 1632) 1371580878 -4.956175686487702 treat image : temp/1752256648_107224_1371580873_802d17d801766b0ccafbf9acf8b649cd.jpg resize: (1080, 1632) 1371580873 -4.831156303923905 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 : 14 time used for this insertion : 0.01950669288635254 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 14 time used for this insertion : 0.014937162399291992 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.014853715896606445 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.012111663818359375 time spend for datou_step_exec : 11.010769367218018 time spend to save output : 0.06658172607421875 total time spend for step 1 : 11.077351093292236 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 10.44user 2.82system 0:19.42elapsed 68%CPU (0avgtext+0avgdata 140416maxresident)k 48inputs+6376outputs (9major+199672minor)pagefaults 0swaps