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 : 760368 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 : 2196>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/760368/ 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.381026029586792 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 2 15: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/1751461949_760368_1369933066_a8841d0358689833cd6aae42674dac36.jpg resize: (1080, 1632) 1369933066 -5.021366130820914 treat image : temp/1751461949_760368_1369932966_28acacd7dd289207dd1f0cae3209d706.jpg resize: (1080, 1632) 1369932966 -4.992369793541708 treat image : temp/1751461949_760368_1369932892_88c5aada018c2f8dadf297442aa89e3e.jpg resize: (1080, 1632) 1369932892 -4.989942278962925 treat image : temp/1751461949_760368_1369932835_eefd953fc6e93cad131ba3d14f07ee71.jpg resize: (1080, 1632) 1369932835 -4.983174245168305 treat image : temp/1751461949_760368_1369932824_fc4d5c2324ad83e47efa016b49ab5f0e.jpg resize: (1080, 1632) 1369932824 -4.984218555979966 treat image : temp/1751461949_760368_1369932808_e05e4a02ff9950d1b6001f51594a4003.jpg resize: (1080, 1632) 1369932808 -4.9953446523720455 treat image : temp/1751461949_760368_1369930899_f15ada05568126214d7d12f1cfe96044.jpg resize: (1080, 1632) 1369930899 -5.083123713689704 treat image : temp/1751461949_760368_1369930895_61ffec830a10f65c33237a30a527841a.jpg resize: (1080, 1632) 1369930895 -5.0889793423984475 treat image : temp/1751461949_760368_1369929885_96b10775619269aec107992591a78965.jpg resize: (1080, 1632) 1369929885 -5.058978405080195 treat image : temp/1751461949_760368_1369929818_10d1384cade7532fe865e936288f85e2.jpg resize: (1080, 1632) 1369929818 -5.039744704102335 treat image : temp/1751461949_760368_1369929742_05827ec1ed19aa3df2ab1c83549fec91.jpg resize: (1080, 1632) 1369929742 -5.138000431115503 treat image : temp/1751461949_760368_1369929687_cf905f41e9327b54971d3781c42de61e.jpg resize: (1080, 1632) 1369929687 -5.139784424961557 treat image : temp/1751461949_760368_1369919553_c749ab248c8a0ee3c5cffd6e34985f49.jpg resize: (1080, 1632) 1369919553 -5.445631283806796 treat image : temp/1751461949_760368_1369919513_1b08c6e2bd9a135cc6577b265353c413.jpg resize: (1080, 1632) 1369919513 -5.660531495666527 treat image : temp/1751461949_760368_1369919480_7ff5097a7621e70fb049ee903f2febb3.jpg resize: (1080, 1632) 1369919480 -5.621954654319815 treat image : temp/1751461949_760368_1369919447_d4f8142ed9c249875c9a0b472e6ab646.jpg resize: (1080, 1632) 1369919447 -5.542600979876569 treat image : temp/1751461949_760368_1369918332_1ff9d55974075272538b06985da45b9e.jpg resize: (1080, 1632) 1369918332 -5.457773551743007 treat image : temp/1751461949_760368_1369918330_40540faf074aeedc76e68ca7263d6639.jpg resize: (1080, 1632) 1369918330 -5.464498319229761 treat image : temp/1751461949_760368_1369918328_3025a8888d32c3716ee92ae679856709.jpg resize: (1080, 1632) 1369918328 -5.46493716838412 treat image : temp/1751461949_760368_1369918316_778fbf93ad5517a0bdae9a0e95fcbf80.jpg resize: (1080, 1632) 1369918316 -5.460018655586688 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.02088308334350586 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.020008087158203125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014388084411621094 save missing photos in datou_result : time spend for datou_step_exec : 15.638276815414429 time spend to save output : 0.05996370315551758 total time spend for step 1 : 15.698240518569946 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.50user 3.81system 0:20.80elapsed 88%CPU (0avgtext+0avgdata 137272maxresident)k 5776inputs+10064outputs (49major+244898minor)pagefaults 0swaps