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 : 1728550 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 : 6321>100 please execute split_portfolio.py -i 25155834 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3316381'] with mtr_portfolio_ids : ['25155834'] and first list_photo_ids : [] new path : /proc/1728550/ 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.6748812198638916 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 23 01:12: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/1753225948_1728550_1373217766_c3ac30e396cc0ba1da23a5f9c994b2f4.jpg resize: (1080, 1632) 1373217766 -5.350623429358905 treat image : temp/1753225948_1728550_1373217764_1897101f2b0af0d479569351ecc3f7d7.jpg resize: (1080, 1632) 1373217764 -4.883730709190321 treat image : temp/1753225948_1728550_1373217744_64877209053e71a7de49231e354333d3.jpg resize: (1080, 1632) 1373217744 -4.326981333179962 treat image : temp/1753225948_1728550_1373217411_e4003cf71552f52c03ceeb8a0692d0d4.jpg resize: (1080, 1632) 1373217411 -1.3667973698181561 treat image : temp/1753225948_1728550_1373217405_4abc71391e0608e67d0c3188a2a6243b.jpg resize: (1080, 1632) 1373217405 -4.980498870263176 treat image : temp/1753225948_1728550_1373217399_68cd95ccffe0e05f044b0063e4cb6690.jpg resize: (1080, 1632) 1373217399 -5.108530242274135 treat image : temp/1753225948_1728550_1373217394_4eb9bce7e21f2e4eb6ea34218e47a90a.jpg resize: (1080, 1632) 1373217394 -2.3061184928699037 treat image : temp/1753225948_1728550_1373217390_772fb2010904490d9d5aada6e48e4666.jpg resize: (1080, 1632) 1373217390 -0.9426569083172573 treat image : temp/1753225948_1728550_1373217385_499fe81013d7a8fce511ddc459e221a1.jpg resize: (1080, 1632) 1373217385 -4.603896094334958 treat image : temp/1753225948_1728550_1373217382_a3dbd46a648354d95f882c67f6e88dbc.jpg resize: (1080, 1632) 1373217382 -5.019972179573143 treat image : temp/1753225948_1728550_1373217378_3764e0b366f3cf520e42a380a92bcf2d.jpg resize: (1080, 1632) 1373217378 -5.2300195904289986 treat image : temp/1753225948_1728550_1373217373_de7325841de5c3a08154aff66a0b9ec3.jpg resize: (1080, 1632) 1373217373 -4.753223749354073 treat image : temp/1753225948_1728550_1373217372_aa35ca2a92150e0c5e25786d3d7f725d.jpg resize: (1080, 1632) 1373217372 -4.753223749354073 treat image : temp/1753225948_1728550_1373217367_71a19d23aa4e1cf7012113a989f5c313.jpg resize: (1080, 1632) 1373217367 -2.522796240184085 treat image : temp/1753225948_1728550_1373217365_8d67a431a6deadaf10b9e8793d324d4a.jpg resize: (1080, 1632) 1373217365 -2.2980860007365504 treat image : temp/1753225948_1728550_1373217360_af2fcd72f2087339e5a34f8d32372865.jpg resize: (1080, 1632) 1373217360 -2.2980860007365504 treat image : temp/1753225948_1728550_1373217356_1670ce489509eda91a6a9c116e8ead66.jpg resize: (1080, 1632) 1373217356 -4.929878143962281 treat image : temp/1753225948_1728550_1373217351_1fb10a809f00ea96fe401e2a86e12011.jpg resize: (1080, 1632) 1373217351 -5.1343060929583935 treat image : temp/1753225948_1728550_1373217349_a9b780eb8525e45b78ee20460b20b7c9.jpg resize: (1080, 1632) 1373217349 -4.923611731839103 treat image : temp/1753225948_1728550_1373217345_f04c1d4e6d0e3853e6cc86503059bbd2.jpg resize: (1080, 1632) 1373217345 -3.2216229297600942 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.012906312942504883 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.011731386184692383 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021106719970703125 save missing photos in datou_result : time spend for datou_step_exec : 14.617566108703613 time spend to save output : 0.05048632621765137 total time spend for step 1 : 14.668052434921265 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.68user 3.40system 0:19.90elapsed 85%CPU (0avgtext+0avgdata 140676maxresident)k 120inputs+8392outputs (4major+248194minor)pagefaults 0swaps