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 : 3779427 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/3779427/ 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 : 1343564882 complete_path : /home/admin/workarea/git/Velours/python/temp/1741882947_3779427_1343564882_fefb57df785a8259b396b17764189624.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564880 complete_path : /home/admin/workarea/git/Velours/python/temp/1741882947_3779427_1343564880_243d6d00ed3564098e3fed9212962b5c.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564877 complete_path : /home/admin/workarea/git/Velours/python/temp/1741882947_3779427_1343564877_0053cd996d3de5cad9365d5e0ae12d10.jpg FBFBHTTP Error 404: Not Found can't download the photo : 1343564873 complete_path : /home/admin/workarea/git/Velours/python/temp/1741882947_3779427_1343564873_6f34adb38b4356841318bec49e78849b.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564869 complete_path : /home/admin/workarea/git/Velours/python/temp/1741882947_3779427_1343564869_7ace452ab1863f1edba15f6021fad256.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564868 complete_path : /home/admin/workarea/git/Velours/python/temp/1741882947_3779427_1343564868_029d581d42cb93c60816f9858cd21e65.jpg FBHTTP Error 404: Not Found can't download the photo : 1343564866 complete_path : /home/admin/workarea/git/Velours/python/temp/1741882947_3779427_1343564866_b50951e33d1a71fbbebcfa183cfe913c.jpg Fwe have missing 7 photos in the step downloads : photo missing : [1343564882, 1343564880, 1343564877, 1343564873, 1343564869, 1343564868, 1343564866] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564882 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564880 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564877 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564873 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564869 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564868 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343564866 length of list_filenames : 13 ; length of list_pids : 13 ; length of list_args : 13 time to download the photos : 5.367142200469971 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:22: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/1741882947_3779427_1343564919_4fb73eb8389ad414578fd94916e72760.jpg resize: (1080, 1632) 1343564919 -5.601674295336019 treat image : temp/1741882947_3779427_1343564915_b2c621e480bca0db23b3661334a0dac6.jpg resize: (1080, 1632) 1343564915 -6.360168915911507 treat image : temp/1741882947_3779427_1343564912_038a6096cbf9ba5488e87c6327ab2c15.jpg resize: (1080, 1632) 1343564912 -4.546356768387649 treat image : temp/1741882947_3779427_1343564907_11b99c6c29681e7f5b486fc79d394878.jpg resize: (1080, 1632) 1343564907 -2.616352998848074 treat image : temp/1741882947_3779427_1343564904_cce167bc0c1014d9aeeffe07332327ad.jpg resize: (1080, 1632) 1343564904 -6.360168915911507 treat image : temp/1741882947_3779427_1343564901_63dd002ec48ffb3a5e0098791c3fd82c.jpg resize: (1080, 1632) 1343564901 -4.546356768387649 treat image : temp/1741882947_3779427_1343564900_7bc22d1e7f969feb8a6f87b57f1cebba.jpg resize: (1080, 1632) 1343564900 -4.14568825688295 treat image : temp/1741882947_3779427_1343564896_cb7435a07db13f25a8380c0d717eada9.jpg resize: (1080, 1632) 1343564896 -2.616352998848074 treat image : temp/1741882947_3779427_1343564895_56babe7b1cb678cc4467730ef88b1977.jpg resize: (1080, 1632) 1343564895 -6.589167242892735 treat image : temp/1741882947_3779427_1343564890_28aafa5986926cdd705272a52d75eecf.jpg resize: (1080, 1632) 1343564890 -2.7447202261569736 treat image : temp/1741882947_3779427_1343564888_540525f4c15a24a30b5d0b30ad050330.jpg resize: (1080, 1632) 1343564888 -4.14568825688295 treat image : temp/1741882947_3779427_1343564885_e34e245158325d39df6a4306acb59cf2.jpg resize: (1080, 1632) 1343564885 -6.371643800435879 treat image : temp/1741882947_3779427_1343564876_4304e64e789da09d362c2df4ad939aaf.jpg resize: (1080, 1632) 1343564876 -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 : 13 time used for this insertion : 0.013617277145385742 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.01395273208618164 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.017020702362060547 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.015766143798828125 time spend for datou_step_exec : 9.114697694778442 time spend to save output : 0.06537318229675293 total time spend for step 1 : 9.180070877075195 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 9.09user 2.03system 0:16.05elapsed 69%CPU (0avgtext+0avgdata 137356maxresident)k 304inputs+6864outputs (22major+125916minor)pagefaults 0swaps