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 : 1600854 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 : 827>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/1600854/ 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.3141372203826904 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 Wed May 21 07:52: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/1747806747_1600854_1359973247_318a96ece6b75bdb90731f52338169a9.jpg resize: (1080, 1632) 1359973247 -3.7727605865211244 treat image : temp/1747806747_1600854_1359973243_3386bfe43333955ca37daf42cd9b5d42.jpg resize: (1080, 1632) 1359973243 -5.682882242273122 treat image : temp/1747806747_1600854_1359973239_b6d444e015bf655139eb6feff2bc03bb.jpg resize: (1080, 1632) 1359973239 -5.659517720330444 treat image : temp/1747806747_1600854_1359973234_c0fde466a180e41658e050fdca5b5dc2.jpg resize: (1080, 1632) 1359973234 -6.1639935378891675 treat image : temp/1747806747_1600854_1359973191_d5f8604ffa70564409cb44c21280d9d2.jpg resize: (1080, 1632) 1359973191 -6.3365076675000696 treat image : temp/1747806747_1600854_1359973187_c48c323f420fc073456ad2f1e136e4b1.jpg resize: (1080, 1632) 1359973187 -0.6270568361701444 treat image : temp/1747806747_1600854_1359973183_a1854e541653d55aa16c09cb8e7d58f3.jpg resize: (1080, 1632) 1359973183 -1.126631383546189 treat image : temp/1747806747_1600854_1359973179_3a5c332ed73da8eead3989165d34b4c6.jpg resize: (1080, 1632) 1359973179 -1.1930178690682463 treat image : temp/1747806747_1600854_1359973149_15d4bfd1441d3fa20865f1bb8f3e0054.jpg resize: (1080, 1632) 1359973149 -5.79499022953757 treat image : temp/1747806747_1600854_1359973146_2ef51639efd42e6a364afaf2fb53a57b.jpg resize: (1080, 1632) 1359973146 -6.247610881597905 treat image : temp/1747806747_1600854_1359973142_c80459d8bdee1a552b6a143e1395bd60.jpg resize: (1080, 1632) 1359973142 -5.660123620867653 treat image : temp/1747806747_1600854_1359973133_cd9044adba73d0c124a3e206ff0814f7.jpg resize: (1080, 1632) 1359973133 -6.010403752135306 treat image : temp/1747806747_1600854_1359973125_834489d066eaddefd423e2c8243ae13d.jpg resize: (1080, 1632) 1359973125 -5.8919480322742395 treat image : temp/1747806747_1600854_1359973119_3a0e4d1317fa9b3cd9d4b661d57d4091.jpg resize: (1080, 1632) 1359973119 -5.855554886876299 treat image : temp/1747806747_1600854_1359973079_58eea3af94a57a57f787f5729425c116.jpg resize: (1080, 1632) 1359973079 -1.6808250135949834 treat image : temp/1747806747_1600854_1359973075_8cf98fbe6a2b8be4f282fd866c37ffc9.jpg resize: (1080, 1632) 1359973075 -0.6195374192502646 treat image : temp/1747806747_1600854_1359973070_002a2490222456d4b47efd98c7b23ff6.jpg resize: (1080, 1632) 1359973070 -4.7272474618564715 treat image : temp/1747806747_1600854_1359973065_ccd6e400ca180114cb6533645c895ad4.jpg resize: (1080, 1632) 1359973065 -6.110578448934948 treat image : temp/1747806747_1600854_1359973059_32ec00b59b9d307ce7b9e84fa0a7a385.jpg resize: (1080, 1632) 1359973059 -5.804480973917509 treat image : temp/1747806747_1600854_1359973011_db5917bd23cf911e573f2ac3e7abaed3.jpg resize: (1080, 1632) 1359973011 -5.132007002665843 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.01637721061706543 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.14986491203308105 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.270143985748291 save missing photos in datou_result : time spend for datou_step_exec : 17.663697004318237 time spend to save output : 0.4419281482696533 total time spend for step 1 : 18.10562515258789 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.18user 4.78system 0:22.19elapsed 89%CPU (0avgtext+0avgdata 137868maxresident)k 2880inputs+9832outputs (81major+260729minor)pagefaults 0swaps