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 : 796647 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 : 4472>100 please execute split_portfolio.py -i 25479781 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3392459'] with mtr_portfolio_ids : ['25479781'] and first list_photo_ids : [] new path : /proc/796647/ 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 : 3.0959367752075195 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 Jul 30 18:42:33 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/1753893750_796647_1374453792_a419aa1db16d9fff21c9049f5e9ecace.jpg resize: (1080, 1632) 1374453792 -5.372598140097819 treat image : temp/1753893750_796647_1374453791_bbe08757ac95f003ec790f2337938f45.jpg resize: (1080, 1632) 1374453791 -5.725221675488264 treat image : temp/1753893750_796647_1374453788_1fffd156fd6d5f17d52234b6cfc4ed21.jpg resize: (1080, 1632) 1374453788 -4.533173836034096 treat image : temp/1753893750_796647_1374453776_ed2bab5d35e4be437d9db2d620564dc3.jpg resize: (1080, 1632) 1374453776 -6.336723071114945 treat image : temp/1753893750_796647_1374453773_bcdfad044d952b632b2c0ddd68db8f0a.jpg resize: (1080, 1632) 1374453773 -6.087947224167117 treat image : temp/1753893750_796647_1374453770_b70ff3c79a683678aa677d25343f7ef1.jpg resize: (1080, 1632) 1374453770 -6.138923423749777 treat image : temp/1753893750_796647_1374453768_e440985e5793130104ef62a6fdcb8995.jpg resize: (1080, 1632) 1374453768 -5.8537644328192036 treat image : temp/1753893750_796647_1374453765_06ee67314500fdca7d21263e49043d2e.jpg resize: (1080, 1632) 1374453765 -1.7752674960141008 treat image : temp/1753893750_796647_1374453761_d4dde258746c75c2ac0ad7a00ad8b119.jpg resize: (1080, 1632) 1374453761 -3.0428092110634135 treat image : temp/1753893750_796647_1374453742_40516a9722cb0ace09a68c33d130f480.jpg resize: (1080, 1632) 1374453742 -5.881208319123737 treat image : temp/1753893750_796647_1374453739_28432894a237bf7d5b141ea8f948160c.jpg resize: (1080, 1632) 1374453739 -5.366042894260502 treat image : temp/1753893750_796647_1374453737_827bbb86ad9f643edae6d5ee5ba9ae58.jpg resize: (1080, 1632) 1374453737 -5.901383668937295 treat image : temp/1753893750_796647_1374453736_3894b39fe265b6be176fc83fbe819e81.jpg resize: (1080, 1632) 1374453736 -5.2881167030738325 treat image : temp/1753893750_796647_1374453735_53c22af283d495908a378fc00cc5cb43.jpg resize: (1080, 1632) 1374453735 -5.27468349648125 treat image : temp/1753893750_796647_1374453733_a3dbf5e3fd589da1fa9ddd4588ef9cc5.jpg resize: (1080, 1632) 1374453733 -6.312165187955893 treat image : temp/1753893750_796647_1374453713_af1213c7d0c2b42c5395f318f45ea1b0.jpg resize: (1080, 1632) 1374453713 -5.671650483590159 treat image : temp/1753893750_796647_1374453711_002b21a00f794b495178c8de16165aba.jpg resize: (1080, 1632) 1374453711 -5.784743356457245 treat image : temp/1753893750_796647_1374453709_800f74c2ce5ff6e6dec9d0a2a53a6039.jpg resize: (1080, 1632) 1374453709 -6.006692224249882 treat image : temp/1753893750_796647_1374453708_9a61b03755c8541eec95cb709a19c630.jpg resize: (1080, 1632) 1374453708 -5.2321374574443835 treat image : temp/1753893750_796647_1374453705_e3a9811a29c5ce804da4c85738cff102.jpg resize: (1080, 1632) 1374453705 -4.941764325470319 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.04402303695678711 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.04402422904968262 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014490604400634766 save missing photos in datou_result : time spend for datou_step_exec : 15.524385452270508 time spend to save output : 0.12207150459289551 total time spend for step 1 : 15.646456956863403 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.27user 4.02system 0:22.73elapsed 80%CPU (0avgtext+0avgdata 138568maxresident)k 88inputs+10712outputs (4major+258163minor)pagefaults 0swaps