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 : 3795291 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 : 3809>100 please execute split_portfolio.py -i 21319625 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2660211'] with mtr_portfolio_ids : ['21319625'] and first list_photo_ids : [] new path : /proc/3795291/ 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 ! BFBHTTP Error 404: Not Found can't download the photo : 1343564861 complete_path : /home/admin/workarea/git/Velours/python/temp/1741883249_3795291_1343564861_9d2f19882d6f1da6dd0569cce1da65b1.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564859 complete_path : /home/admin/workarea/git/Velours/python/temp/1741883249_3795291_1343564859_291b72a6e66a2ab31a873fc1aac56451.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564855 complete_path : /home/admin/workarea/git/Velours/python/temp/1741883249_3795291_1343564855_fd72322d407fb373f796f97768b325a4.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564854 complete_path : /home/admin/workarea/git/Velours/python/temp/1741883249_3795291_1343564854_a06ca9f76b2cf92269c6df74a4908f5f.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564852 complete_path : /home/admin/workarea/git/Velours/python/temp/1741883249_3795291_1343564852_6fcf56e41e9e2345757cf9f33f0353ce.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564851 complete_path : /home/admin/workarea/git/Velours/python/temp/1741883249_3795291_1343564851_88b160a33c7561fcae93898866987e95.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564850 complete_path : /home/admin/workarea/git/Velours/python/temp/1741883249_3795291_1343564850_2fcb89bf36a020548475bf2d8b0a5f24.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564849 complete_path : /home/admin/workarea/git/Velours/python/temp/1741883249_3795291_1343564849_d2e1112248cbccf8dd958617443172a8.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564841 complete_path : /home/admin/workarea/git/Velours/python/temp/1741883249_3795291_1343564841_6425ef1447b9dfc5780582d0afbe2c6b.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564837 complete_path : /home/admin/workarea/git/Velours/python/temp/1741883249_3795291_1343564837_6cee15462d84a7aa4ef419c0a92dc175.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564836 complete_path : /home/admin/workarea/git/Velours/python/temp/1741883249_3795291_1343564836_994012c255bd794957f02688477d6c40.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564831 complete_path : /home/admin/workarea/git/Velours/python/temp/1741883249_3795291_1343564831_2cfd0d26e230753fee43c8a6cfac32dd.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564830 complete_path : /home/admin/workarea/git/Velours/python/temp/1741883249_3795291_1343564830_2e49f261188a94535e97eabc3b71aa33.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564829 complete_path : /home/admin/workarea/git/Velours/python/temp/1741883249_3795291_1343564829_bfa2778106523cf7272fe993cabd4557.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564828 complete_path : /home/admin/workarea/git/Velours/python/temp/1741883249_3795291_1343564828_02e9dfa0755fe97249e271a6fc6c2796.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564826 complete_path : /home/admin/workarea/git/Velours/python/temp/1741883249_3795291_1343564826_ab030902d820bdcd10cd320f20d9ac8d.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564825 complete_path : /home/admin/workarea/git/Velours/python/temp/1741883249_3795291_1343564825_b1fe6313acab94752566439a3a11cba4.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564820 complete_path : /home/admin/workarea/git/Velours/python/temp/1741883249_3795291_1343564820_356c766c224e3f6b5f0781ea560ff275.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564818 complete_path : /home/admin/workarea/git/Velours/python/temp/1741883249_3795291_1343564818_90169aae4403cfc58c1b753f8986d160.jpg Fwe have missing 19 photos in the step downloads : photo missing : [1343564861, 1343564859, 1343564855, 1343564854, 1343564852, 1343564851, 1343564850, 1343564849, 1343564841, 1343564837, 1343564836, 1343564831, 1343564830, 1343564829, 1343564828, 1343564826, 1343564825, 1343564820, 1343564818] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564861 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564859 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564855 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564854 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564852 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564851 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564850 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564849 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564841 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564837 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564836 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564831 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564830 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564829 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564828 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564826 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564825 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564820 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564818 length of list_filenames : 1 ; length of list_pids : 1 ; length of list_args : 1 time to download the photos : 8.456773519515991 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 Thu Mar 13 17:27:37 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/1741883249_3795291_1343564865_ba67127877b6f3c12206d1fd9aa7b3d1.jpg resize: (1080, 1632) 1343564865 -6.316609056610936 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 : 1 time used for this insertion : 0.016892433166503906 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 1 time used for this insertion : 0.013883590698242188 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 time used for this insertion : 0.013991117477416992 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.01685309410095215 time spend for datou_step_exec : 0.8518731594085693 time spend to save output : 0.06730365753173828 total time spend for step 1 : 0.9191768169403076 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 1.81user 1.09system 0:12.35elapsed 23%CPU (0avgtext+0avgdata 133476maxresident)k 8inputs+688outputs (5major+58253minor)pagefaults 0swaps