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 : 1353403 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 : 2203>100 please execute split_portfolio.py -i 26103981 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3565041'] with mtr_portfolio_ids : ['26103981'] and first list_photo_ids : [] new path : /proc/1353403/ 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.3631887435913086 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 Aug 21 22:47:32 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/1755809249_1353403_1378308983_df16cfdcd2311033da42485de73418bd.jpg resize: (1080, 1632) 1378308983 -5.4931381122439245 treat image : temp/1755809249_1353403_1378308867_41876a2932f6f301120be17b6afd3793.jpg resize: (1080, 1632) 1378308867 -5.344872011645922 treat image : temp/1755809249_1353403_1378308754_c8918119132a7feabc8cf512f134f1ea.jpg resize: (1080, 1632) 1378308754 -3.9955210238046273 treat image : temp/1755809249_1353403_1378308664_56772600bed06747696b325c11995039.jpg resize: (1080, 1632) 1378308664 -0.237153332671865 treat image : temp/1755809249_1353403_1378308561_e172bf907d48ca74ea400ec3df440fae.jpg resize: (1080, 1632) 1378308561 -1.9768327277807267 treat image : temp/1755809249_1353403_1378308489_9ca27e0853ff8bafd8b3b77230b207dd.jpg resize: (1080, 1632) 1378308489 -2.747106652225281 treat image : temp/1755809249_1353403_1378308246_4c201157a6a6656f54883a3808caa711.jpg resize: (1080, 1632) 1378308246 -1.4642086909055314 treat image : temp/1755809249_1353403_1378308163_5e06396311a3d8352b85d52c490634fd.jpg resize: (1080, 1632) 1378308163 -1.3060202882638696 treat image : temp/1755809249_1353403_1378308078_dfd11da1b81d988f998b3d41dcec7018.jpg resize: (1080, 1632) 1378308078 -1.2873670410063986 treat image : temp/1755809249_1353403_1378307979_6441b0ba23da632bad4dce33aec91812.jpg resize: (1080, 1632) 1378307979 -5.010648459012815 treat image : temp/1755809249_1353403_1378307851_4ad83082b01f6c82821f2ebd62aa046c.jpg resize: (1080, 1632) 1378307851 -5.859320340321098 treat image : temp/1755809249_1353403_1378307749_206b106a796a7d033f9ecd19b3e97feb.jpg resize: (1080, 1632) 1378307749 -5.5422214232154685 treat image : temp/1755809249_1353403_1378307365_df6b760a75de98e0c489bd305ec0931c.jpg resize: (1080, 1632) 1378307365 -5.310125949866209 treat image : temp/1755809249_1353403_1378307292_eb3befeb72d1214ff9798c70265084f5.jpg resize: (1080, 1632) 1378307292 -5.799935992189112 treat image : temp/1755809249_1353403_1378307219_2a38651d209a45fa87c24cfade12f545.jpg resize: (1080, 1632) 1378307219 -4.576946479292034 treat image : temp/1755809249_1353403_1378307151_f6919a7f9179099e5b734dcce9cbadfb.jpg resize: (1080, 1632) 1378307151 -5.211242393224029 treat image : temp/1755809249_1353403_1378307075_997cabdfbea416d38c816b43837fcae9.jpg resize: (1080, 1632) 1378307075 -5.201792872620392 treat image : temp/1755809249_1353403_1378306987_ece6ce19887b41c710c0f5d41a05e2f7.jpg resize: (1080, 1632) 1378306987 -4.813362427886116 treat image : temp/1755809249_1353403_1378306627_de509900abb2f8e1cabd10dae816cbf6.jpg resize: (1080, 1632) 1378306627 -5.140897717988207 treat image : temp/1755809249_1353403_1378306540_e5a64138c67e2123ddb1bb06f3234f54.jpg resize: (1080, 1632) 1378306540 -5.750296817381139 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.012766599655151367 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.012954473495483398 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013866424560546875 save missing photos in datou_result : time spend for datou_step_exec : 15.1919686794281 time spend to save output : 0.044487714767456055 total time spend for step 1 : 15.236456394195557 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.81user 3.04system 0:21.87elapsed 81%CPU (0avgtext+0avgdata 140592maxresident)k 104inputs+8872outputs (4major+260322minor)pagefaults 0swaps