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 : 4012732 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 : 6539>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/4012732/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371587874 complete_path : /home/admin/workarea/git/Velours/python/temp/1752250347_4012732_1371587874_f454b6db33300c593f41c8064a761ae7.jpg FBFBHTTP Error 404: Not Found can't download the photo : 1371587854 complete_path : /home/admin/workarea/git/Velours/python/temp/1752250347_4012732_1371587854_0da4baf29b928ac1611057698bb04823.jpg FBHTTP Error 404: Not Found can't download the photo : 1371587781 complete_path : /home/admin/workarea/git/Velours/python/temp/1752250347_4012732_1371587781_f96568385554ef680898c34c5ad7d6de.jpg Fwe have missing 3 photos in the step downloads : photo missing : [1371587874, 1371587854, 1371587781] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371587874 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371587854 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371587781 length of list_filenames : 17 ; length of list_pids : 17 ; length of list_args : 17 time to download the photos : 3.1345934867858887 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 18:12:30 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/1752250347_4012732_1371632522_02cf2032731c8958489f69cdeab45ad7.jpg resize: (1080, 1632) 1371632522 -5.470526823555701 treat image : temp/1752250347_4012732_1371632521_63eabdaab86c8b381a30f1dee22fa4dc.jpg resize: (1080, 1632) 1371632521 -5.470526823555701 treat image : temp/1752250347_4012732_1371632518_2096639f320ef756284939bfa4bbc8ce.jpg resize: (1080, 1632) 1371632518 -5.45250902898145 treat image : temp/1752250347_4012732_1371632517_08fd9ab9e9a27bb5f5542173e1e7e2ba.jpg resize: (1080, 1632) 1371632517 -5.45250902898145 treat image : temp/1752250347_4012732_1371632512_1993aab7f60d7203491b450038da7013.jpg resize: (1080, 1632) 1371632512 -1.2422735273359218 treat image : temp/1752250347_4012732_1371632510_cd4c51a93ad162fd6223423e4145bb3a.jpg resize: (1080, 1632) 1371632510 -1.2422735273359218 treat image : temp/1752250347_4012732_1371632507_27a7f2de01ff86d31c20b98fc98a51b0.jpg resize: (1080, 1632) 1371632507 -1.9401749841466143 treat image : temp/1752250347_4012732_1371632505_daa51887c769573ba4ebcf7ea1c4b35b.jpg resize: (1080, 1632) 1371632505 -1.9401749841466143 treat image : temp/1752250347_4012732_1371632498_e9c647ea955431c8290330d57d1c1caa.jpg resize: (1080, 1632) 1371632498 -2.5162683458329496 treat image : temp/1752250347_4012732_1371632497_ed6d9e6ae3fffb80eada18c0c219a366.jpg resize: (1080, 1632) 1371632497 -2.5162683458329496 treat image : temp/1752250347_4012732_1371632488_72183296b5b9c09f73cb172131f42a10.jpg resize: (1080, 1632) 1371632488 -4.930676869803044 treat image : temp/1752250347_4012732_1371632484_5d6c226b47f5ea5cce38fa88740c21bf.jpg resize: (1080, 1632) 1371632484 -4.924969941998733 treat image : temp/1752250347_4012732_1371632480_8d0fa0adf6b8eeb7be5e773bbb51f432.jpg resize: (1080, 1632) 1371632480 -4.9296072132796125 treat image : temp/1752250347_4012732_1371632475_7dc90f86ec10a0a2a4e48ebed923f620.jpg resize: (1080, 1632) 1371632475 -4.904512568645803 treat image : temp/1752250347_4012732_1371632470_9edfd8494828f606ed5403f104369a88.jpg resize: (1080, 1632) 1371632470 -4.903069985803169 treat image : temp/1752250347_4012732_1371632463_cc24753cd52729160aedaaed7ae669c6.jpg resize: (1080, 1632) 1371632463 -4.894140153726192 treat image : temp/1752250347_4012732_1371587872_24b4d1c17077030122a2cd11a92ec15f.jpg resize: (1080, 1632) 1371587872 -5.203187232316885 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 : 17 time used for this insertion : 0.012339353561401367 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 17 time used for this insertion : 0.011959075927734375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.013191699981689453 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.010632753372192383 time spend for datou_step_exec : 14.09437370300293 time spend to save output : 0.05289626121520996 total time spend for step 1 : 14.14726996421814 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 12.98user 3.50system 0:19.03elapsed 86%CPU (0avgtext+0avgdata 139220maxresident)k 8inputs+7520outputs (8major+229381minor)pagefaults 0swaps