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 : 2200795 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 : 7519>100 please execute split_portfolio.py -i 24774035 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3262193'] with mtr_portfolio_ids : ['24774035'] and first list_photo_ids : [] new path : /proc/2200795/ 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.440706968307495 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 23:22: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/1752182548_2200795_1371527817_636e7ee45aec419c4c317f9e20988f35.jpg resize: (1080, 1632) 1371527817 -4.911720643022221 treat image : temp/1752182548_2200795_1371527815_a634fee1df7b2040364080a70657987c.jpg resize: (1080, 1632) 1371527815 -1.9826266761230267 treat image : temp/1752182548_2200795_1371527812_39c10d6cdad5ca35a3db5e97b0cdb70c.jpg resize: (1080, 1632) 1371527812 -4.887916142873917 treat image : temp/1752182548_2200795_1371527806_ed42f94d28308dd60cb7771b0b51a2eb.jpg resize: (1080, 1632) 1371527806 -1.1984016205122334 treat image : temp/1752182548_2200795_1371527746_0ff60efe7b81fd774433833f677bff7d.jpg resize: (1080, 1632) 1371527746 -4.173449923220983 treat image : temp/1752182548_2200795_1371527387_5fdf7b2ac2c7351047211adb0c02e837.jpg resize: (1080, 1632) 1371527387 -5.67803137859758 treat image : temp/1752182548_2200795_1371527374_31ab3971d55ed3fb82816a72cc03ac95.jpg resize: (1080, 1632) 1371527374 -5.012438588108498 treat image : temp/1752182548_2200795_1371527356_72dec3cae609404816a173b85099262c.jpg resize: (1080, 1632) 1371527356 -1.411983382021575 treat image : temp/1752182548_2200795_1371527355_7b56972c20b8156166ed0636335136d7.jpg resize: (1080, 1632) 1371527355 -5.085146808793789 treat image : temp/1752182548_2200795_1371527276_50487e5eb477e77b95d51278230bcb72.jpg resize: (1080, 1632) 1371527276 -4.190752148868794 treat image : temp/1752182548_2200795_1371527167_7eacc7aeeaa5b9da3c4957f4cb2d84d9.jpg resize: (1080, 1632) 1371527167 -5.743749534543534 treat image : temp/1752182548_2200795_1371527084_08328d244f31e49f52263845bc68a3b5.jpg resize: (1080, 1632) 1371527084 -4.370955909473715 treat image : temp/1752182548_2200795_1371527072_10311268c6a71f0bfb62d6ce3282000f.jpg resize: (1080, 1632) 1371527072 -2.63723520740554 treat image : temp/1752182548_2200795_1371526980_96721bd883c79e8bb0b2678c35e7bfc6.jpg resize: (1080, 1632) 1371526980 -5.078989456181214 treat image : temp/1752182548_2200795_1371526979_863a09aa7db5a2f50affeb204b0098aa.jpg resize: (1080, 1632) 1371526979 -4.161792580298703 treat image : temp/1752182548_2200795_1371526712_f2db8c346b6b1ad48810828c3767d84b.jpg resize: (1080, 1632) 1371526712 -5.755431100873618 treat image : temp/1752182548_2200795_1371526688_2faf6da9c7dc06469d71071971593eb1.jpg resize: (1080, 1632) 1371526688 -5.485209062760157 treat image : temp/1752182548_2200795_1371526678_b1a4ff22204fa2eaceaf2a310ba7c197.jpg resize: (1080, 1632) 1371526678 -2.5759719636667042 treat image : temp/1752182548_2200795_1371526581_69f1961fb0e3e7378ee764aebfc30e1b.jpg resize: (1080, 1632) 1371526581 -4.3169083511089426 treat image : temp/1752182548_2200795_1371526514_c1c529df654c5f43b6914c63358a3d62.jpg resize: (1080, 1632) 1371526514 -4.911390603169037 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.012598991394042969 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.012198686599731445 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014773130416870117 save missing photos in datou_result : time spend for datou_step_exec : 15.441664934158325 time spend to save output : 0.04465222358703613 total time spend for step 1 : 15.486317157745361 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.45user 3.40system 0:21.58elapsed 82%CPU (0avgtext+0avgdata 141252maxresident)k 320inputs+8720outputs (2major+254034minor)pagefaults 0swaps