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 : 1364962 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 updating current state to 1 we have a portfolio with more photos than limit : 2308>100 please execute split_portfolio.py -i 26511073 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3661506'] with mtr_portfolio_ids : ['26511073'] and first list_photo_ids : [] new path : /proc/1364962/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 2.4521327018737793 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 Sep 4 17:37:29 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/1757000247_1364962_1381449770_90ed24967327eaa1d4ca7d641fb520f5_32243365.jpg resize: (1080, 1632) 1381449770 -5.595919500813458 treat image : temp/1757000247_1364962_1381449767_fd8c999c570167cea3cac0d8ede54c49_74573419.jpg resize: (1080, 1632) 1381449767 -4.90882043790225 treat image : temp/1757000247_1364962_1381449764_ffdc536ed103287a3e40d3a0abee5288_41025377.jpg resize: (1080, 1632) 1381449764 -4.897544581929776 treat image : temp/1757000247_1364962_1381449761_00849ed76d68fa47883c8f2f5fa6f387_74512953.jpg resize: (1080, 1632) 1381449761 -5.598444661844203 treat image : temp/1757000247_1364962_1381449758_c074c8ade728966851f7d3a521140f69_22950954.jpg resize: (1080, 1632) 1381449758 -5.396021021640265 treat image : temp/1757000247_1364962_1381449755_4962a3006c29af807eaa7eb4a54f0ef4_76980272.jpg resize: (1080, 1632) 1381449755 -5.216151561972503 treat image : temp/1757000247_1364962_1381449642_8d6110c86f0aa5063ada42640ed947cb_23830057.jpg resize: (1080, 1632) 1381449642 -4.149041790780649 treat image : temp/1757000247_1364962_1381449637_6d2c77ac17625b8c917e164326a4a5b9_59023367.jpg resize: (1080, 1632) 1381449637 -5.053783265437609 treat image : temp/1757000247_1364962_1381449633_6b07ef1630fdaaf44112299cb04cb3c8_75254243.jpg resize: (1080, 1632) 1381449633 -4.310351260577809 treat image : temp/1757000247_1364962_1381449629_3a25fb880c9a0b4295dbaea81fe847d9_61227132.jpg resize: (1080, 1632) 1381449629 -4.970783437961511 treat image : temp/1757000247_1364962_1381449625_c252d581972d711521b9e61d5696a72d_12878977.jpg resize: (1080, 1632) 1381449625 -4.871475210993309 treat image : temp/1757000247_1364962_1381449621_5bacb5612e8066273286887953ad6b43_14437710.jpg resize: (1080, 1632) 1381449621 -1.0642730126315132 treat image : temp/1757000247_1364962_1381449547_b6c489775a503843c730c7b90a436df7_94723076.jpg resize: (1080, 1632) 1381449547 -3.368903821335044 treat image : temp/1757000247_1364962_1381449544_f18aab3a939d44dd574d580347eb5805_74250433.jpg resize: (1080, 1632) 1381449544 -3.584624803742462 treat image : temp/1757000247_1364962_1381449541_bd426645d97542bcbb90c8e43c390235_76594826.jpg resize: (1080, 1632) 1381449541 -5.203817583207677 treat image : temp/1757000247_1364962_1381449538_ce86e756e98accd50d111309cec3952a_66612449.jpg resize: (1080, 1632) 1381449538 -4.561686844090742 treat image : temp/1757000247_1364962_1381449535_f01be65c9a3f73a33fd97ec406a5c584_5870222.jpg resize: (1080, 1632) 1381449535 -4.256202397398215 treat image : temp/1757000247_1364962_1381449532_454fb4cf65cbeaafc63e62657f51857a_73668493.jpg resize: (1080, 1632) 1381449532 -5.624552765163001 treat image : temp/1757000247_1364962_1381449468_760ebea8f44772866ba2a78a50d2d085_98068506.jpg resize: (1080, 1632) 1381449468 -5.448649791190859 treat image : temp/1757000247_1364962_1381449464_010b690ad27ffc27f1ec7d7b63c0527f_99804406.jpg resize: (1080, 1632) 1381449464 -5.504434317697711 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 : 20 time used for this insertion : 0.044304609298706055 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.04366016387939453 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.033124446868896484 save missing photos in datou_result : time spend for datou_step_exec : 15.435044765472412 time spend to save output : 0.14123868942260742 total time spend for step 1 : 15.57628345489502 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.88user 3.34system 0:20.89elapsed 87%CPU (0avgtext+0avgdata 139504maxresident)k 216inputs+9584outputs (19major+256257minor)pagefaults 0swaps