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 : 4082044 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 : 6797>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/4082044/ 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 : 1371586369 complete_path : /home/admin/workarea/git/Velours/python/temp/1752251847_4082044_1371586369_71778f55a28eb0f50dfdd2f91063b22f.jpg FBHTTP Error 404: Not Found can't download the photo : 1371586329 complete_path : /home/admin/workarea/git/Velours/python/temp/1752251847_4082044_1371586329_d297be6eb34f36c1a9f148d0335a2178.jpg FBHTTP Error 404: Not Found can't download the photo : 1371586302 complete_path : /home/admin/workarea/git/Velours/python/temp/1752251847_4082044_1371586302_e348f3921cce3f17a24955b8b758d2e6.jpg FBHTTP Error 404: Not Found can't download the photo : 1371586240 complete_path : /home/admin/workarea/git/Velours/python/temp/1752251847_4082044_1371586240_f78556a65b519204790217396e6237b4.jpg Fwe have missing 4 photos in the step downloads : photo missing : [1371586369, 1371586329, 1371586302, 1371586240] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371586369 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371586329 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371586302 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371586240 length of list_filenames : 16 ; length of list_pids : 16 ; length of list_args : 16 time to download the photos : 3.401348829269409 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:37: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/1752251847_4082044_1371636538_d36dd1a8ae9345c9097d43b63c7ee77b.jpg resize: (1080, 1632) 1371636538 -5.055960300805428 treat image : temp/1752251847_4082044_1371636528_d6874eb6c37358cd6f9f1b69df48e957.jpg resize: (1080, 1632) 1371636528 -5.076850833270518 treat image : temp/1752251847_4082044_1371636500_1ccdb711c02b49b030ccf2ca884adb2a.jpg resize: (1080, 1632) 1371636500 -5.082901369583655 treat image : temp/1752251847_4082044_1371636465_24bb6ecbc51faa665fb68a74c48934bb.jpg resize: (1080, 1632) 1371636465 -5.104495012481481 treat image : temp/1752251847_4082044_1371636444_e223bb9dd1ede9c2d3d381ed13b198a6.jpg resize: (1080, 1632) 1371636444 -5.100607836301667 treat image : temp/1752251847_4082044_1371636442_dbb6e8f5805d744a9399d0b5bd6da531.jpg resize: (1080, 1632) 1371636442 -5.0853974335577625 treat image : temp/1752251847_4082044_1371636426_6a57d54076a053f5129602d2b232c5ea.jpg resize: (1080, 1632) 1371636426 -5.180569835753725 treat image : temp/1752251847_4082044_1371636411_d3bd41c50ecece8032630ee95de46b2e.jpg resize: (1080, 1632) 1371636411 -5.528280296067359 treat image : temp/1752251847_4082044_1371636401_0e3f9ad88c179a8acc3e50ac9cf9a346.jpg resize: (1080, 1632) 1371636401 -5.052307553302402 treat image : temp/1752251847_4082044_1371636397_41fb7c446e188039163c0079f8bc39d9.jpg resize: (1080, 1632) 1371636397 -4.715964246613109 treat image : temp/1752251847_4082044_1371636383_959385bb471f70814cc92b52cf176d16.jpg resize: (1080, 1632) 1371636383 -1.2326840228670537 treat image : temp/1752251847_4082044_1371636356_408a4924ff7b6629c07d632e61d76b8a.jpg resize: (1080, 1632) 1371636356 -2.236327910150735 treat image : temp/1752251847_4082044_1371636204_fb688b51af897d6c2d3d9b9ada43cba1.jpg resize: (1080, 1632) 1371636204 -1.7542874955113756 treat image : temp/1752251847_4082044_1371636200_434e10f03e49c9fa2425cd811c5d7f35.jpg resize: (1080, 1632) 1371636200 -2.4548332856563686 treat image : temp/1752251847_4082044_1371636195_fd4c98d17759eb99ff13f576709f6d31.jpg resize: (1080, 1632) 1371636195 -1.3843979816188894 treat image : temp/1752251847_4082044_1371636192_01967e3921e4503ca06a97686e9acac2.jpg resize: (1080, 1632) 1371636192 -1.3206683303498945 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 : 16 time used for this insertion : 0.014749288558959961 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 16 time used for this insertion : 0.012084484100341797 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.015733003616333008 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 4 time used for this insertion : 0.010788917541503906 time spend for datou_step_exec : 12.74142074584961 time spend to save output : 0.057918548583984375 total time spend for step 1 : 12.799339294433594 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 11.64user 3.74system 0:19.36elapsed 79%CPU (0avgtext+0avgdata 139924maxresident)k 24inputs+6824outputs (3major+218571minor)pagefaults 0swaps