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 : 186914 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 : 4308>100 please execute split_portfolio.py -i 24702204 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3248096'] with mtr_portfolio_ids : ['24702204'] and first list_photo_ids : [] new path : /proc/186914/ 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.147026538848877 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 Jul 10 00:12:28 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/1752099146_186914_1371453190_33d3eafe0565fe1bfbb3a65634e6d4a6.jpg resize: (1080, 1632) 1371453190 -2.334325669564689 treat image : temp/1752099146_186914_1371453166_c45db7b0c19b72608360a885dc084a05.jpg resize: (1080, 1632) 1371453166 -2.3446135614582566 treat image : temp/1752099146_186914_1371453165_73741ee54672407be1bc83e3f2dc657a.jpg resize: (1080, 1632) 1371453165 -2.3423633256890177 treat image : temp/1752099146_186914_1371453163_f7cba9e1147b71b521065a8d2890b62e.jpg resize: (1080, 1632) 1371453163 -2.3495409908851292 treat image : temp/1752099146_186914_1371453151_2906fe33a459189b7cf96bed6e40d676.jpg resize: (1080, 1632) 1371453151 -3.724771411725658 treat image : temp/1752099146_186914_1371453108_53e1b75c659abbe3d6a03a99ba3a70bd.jpg resize: (1080, 1632) 1371453108 -3.734518460484938 treat image : temp/1752099146_186914_1371452921_bda40acb643e7d83123190bdff14aeca.jpg resize: (1080, 1632) 1371452921 -3.7632793548148364 treat image : temp/1752099146_186914_1371452906_65da655d1b3e809ffe66596cf30ca700.jpg resize: (1080, 1632) 1371452906 -3.747014617248241 treat image : temp/1752099146_186914_1371452900_7d6a1f12f34a8883a323476d9b611667.jpg resize: (1080, 1632) 1371452900 -3.7466984803479737 treat image : temp/1752099146_186914_1371452898_3951d03e5f14a8aa037cec03d7102c4e.jpg resize: (1080, 1632) 1371452898 -3.7196144133115157 treat image : temp/1752099146_186914_1371452896_7aa654d4f8d36acde753d90e2aeefba7.jpg resize: (1080, 1632) 1371452896 -3.700615050873114 treat image : temp/1752099146_186914_1371452894_1e3354a6d027c836906765501da74afc.jpg resize: (1080, 1632) 1371452894 -3.7125894386255145 treat image : temp/1752099146_186914_1371452854_1bf6326cb137194f896762ed203b3ebd.jpg resize: (1080, 1632) 1371452854 -3.679321446155436 treat image : temp/1752099146_186914_1371452829_a29edcc042da2a08a7570f7f2ca2e4f4.jpg resize: (1080, 1632) 1371452829 -3.6852939806498637 treat image : temp/1752099146_186914_1371452808_65a1b4728eae200d3c4198550e7529fd.jpg resize: (1080, 1632) 1371452808 -3.6709254320350153 treat image : temp/1752099146_186914_1371452806_10a020d6040f48da7a6486356cf88209.jpg resize: (1080, 1632) 1371452806 -3.6737650300655655 treat image : temp/1752099146_186914_1371452804_75d37e56078dbcdca26cbd51fd2e7607.jpg resize: (1080, 1632) 1371452804 -3.6707624151265894 treat image : temp/1752099146_186914_1371452803_feede6e43905507829d28986d5302081.jpg resize: (1080, 1632) 1371452803 -3.661667384087571 treat image : temp/1752099146_186914_1371452413_8832d2e8759f6c5719f64d618e746cb6.jpg resize: (1080, 1632) 1371452413 -3.6729583573579645 treat image : temp/1752099146_186914_1371452410_041c4a26e3ddaa25475e05203c016c49.jpg resize: (1080, 1632) 1371452410 -2.5269786582370024 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.01260995864868164 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.013002395629882812 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016959667205810547 save missing photos in datou_result : time spend for datou_step_exec : 18.238083600997925 time spend to save output : 0.04741716384887695 total time spend for step 1 : 18.2855007648468 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.79user 6.86system 0:22.09elapsed 93%CPU (0avgtext+0avgdata 139624maxresident)k 0inputs+7624outputs (6major+238800minor)pagefaults 0swaps