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 : 3879422 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 : 6077>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/3879422/ 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 ! BFBFBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371590139 complete_path : /home/admin/workarea/git/Velours/python/temp/1752247647_3879422_1371590139_4999aa9c199e951142665f9b0b94f229.jpg FBFBFBHTTP Error 404: Not Found can't download the photo : 1371589910 complete_path : /home/admin/workarea/git/Velours/python/temp/1752247647_3879422_1371589910_c7defd60a1f8a262d689d976df4c4a48.jpg FBFBHTTP Error 404: Not Found can't download the photo : 1371589815 complete_path : /home/admin/workarea/git/Velours/python/temp/1752247647_3879422_1371589815_d9e416943f5545c9f1ed1efd852edd49.jpg FBHTTP Error 404: Not Found can't download the photo : 1371589764 complete_path : /home/admin/workarea/git/Velours/python/temp/1752247647_3879422_1371589764_b0b66f8f63da5afb183af73d80fd74b7.jpg FBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371589291 complete_path : /home/admin/workarea/git/Velours/python/temp/1752247647_3879422_1371589291_e74292fb3e2b2bd6341ff3664fa538a6.jpg FBFBHTTP Error 404: Not Found can't download the photo : 1371589170 complete_path : /home/admin/workarea/git/Velours/python/temp/1752247647_3879422_1371589170_778a3d4e9a53b2d81dc0ac5d4cccf743.jpg Fwe have missing 6 photos in the step downloads : photo missing : [1371590139, 1371589910, 1371589815, 1371589764, 1371589291, 1371589170] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371590139 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371589910 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371589815 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371589764 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371589291 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371589170 length of list_filenames : 14 ; length of list_pids : 14 ; length of list_args : 14 time to download the photos : 4.132893323898315 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:27:31 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/1752247647_3879422_1371620638_03420d3328f8622ae84fff3691ed042c.jpg resize: (1080, 1632) 1371620638 -5.219415511786539 treat image : temp/1752247647_3879422_1371620634_455cf296330d66856cc96f7584a28cb3.jpg resize: (1080, 1632) 1371620634 -5.217749880145021 treat image : temp/1752247647_3879422_1371620630_35d9835f0bb7fb7bb67de167934648ea.jpg resize: (1080, 1632) 1371620630 -5.213436588896581 treat image : temp/1752247647_3879422_1371620624_48fc9b8c8614bd9be94d4b3db2845f3a.jpg resize: (1080, 1632) 1371620624 -5.2306032379545835 treat image : temp/1752247647_3879422_1371620619_69510895f59bcc42cda96221378cbb15.jpg resize: (1080, 1632) 1371620619 -5.242904405972261 treat image : temp/1752247647_3879422_1371620616_c96882aec08c7946083cbcfd3b350043.jpg resize: (1080, 1632) 1371620616 -5.2476805285742385 treat image : temp/1752247647_3879422_1371589951_920dcaf5912201271e791637bd161503.jpg resize: (1080, 1632) 1371589951 -5.797816989167409 treat image : temp/1752247647_3879422_1371589915_7391a93d36e3ddfc2e8130165b68e788.jpg resize: (1080, 1632) 1371589915 -5.05518153131144 treat image : temp/1752247647_3879422_1371589879_611fdd772ba9390ea8ea39a5d93eeeb3.jpg resize: (1080, 1632) 1371589879 -5.2349039135613005 treat image : temp/1752247647_3879422_1371589716_c782a5f0a64b2670acac99c74613c98d.jpg resize: (1080, 1632) 1371589716 -4.946049103004814 treat image : temp/1752247647_3879422_1371589563_2f9a7137c3a2cc72c35fe330808eea55.jpg resize: (1080, 1632) 1371589563 -5.065916297543914 treat image : temp/1752247647_3879422_1371589421_1777fd0d2330c6e3c0edda593aed50c2.jpg resize: (1080, 1632) 1371589421 -4.922911808826139 treat image : temp/1752247647_3879422_1371589331_2a6e35a38c145ea8937e72e13a551b28.jpg resize: (1080, 1632) 1371589331 -4.918919962874732 treat image : temp/1752247647_3879422_1371589176_c109eccf5531ac6bd6278b0c035a3894.jpg resize: (1080, 1632) 1371589176 -5.24748311805629 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.012544631958007812 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.011870861053466797 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.013119935989379883 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.012030601501464844 time spend for datou_step_exec : 12.843139171600342 time spend to save output : 0.05436062812805176 total time spend for step 1 : 12.897499799728394 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 10.60user 4.59system 0:18.84elapsed 80%CPU (0avgtext+0avgdata 139132maxresident)k 376inputs+7184outputs (3major+199044minor)pagefaults 0swaps