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 : 3544560 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 : 2989>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/3544560/ 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.446934461593628 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 Tue May 20 19:12:29 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/1747761146_3544560_1359844864_640eecba0be25812ef7a9b9c16b90a36.jpg resize: (1080, 1632) 1359844864 -5.43407144117196 treat image : temp/1747761146_3544560_1359844862_cc00b1240cfae7ea5687f2a4ed67d0db.jpg resize: (1080, 1632) 1359844862 -2.5353522935335606 treat image : temp/1747761146_3544560_1359844859_086c32769b6988c894b607479bb77bb1.jpg resize: (1080, 1632) 1359844859 -5.598437453989409 treat image : temp/1747761146_3544560_1359844856_d483e15a12a3e52e16de2165c4833e70.jpg resize: (1080, 1632) 1359844856 -5.280753406998807 treat image : temp/1747761146_3544560_1359844854_7fe40229c6bad655683626de184b7948.jpg resize: (1080, 1632) 1359844854 -4.8177692494499444 treat image : temp/1747761146_3544560_1359844756_215c38160bda0818eb2880293c9e61f8.jpg resize: (1080, 1632) 1359844756 -1.827680371807397 treat image : temp/1747761146_3544560_1359844730_21014acf8424cc967358ab81e2806bb8.jpg resize: (1080, 1632) 1359844730 -2.15171689467001 treat image : temp/1747761146_3544560_1359844727_cb52d1857c137edcb54cfcdf989b3132.jpg resize: (1080, 1632) 1359844727 -1.5306907453649834 treat image : temp/1747761146_3544560_1359844721_da2e12149add3eb754f2076f14b9eed4.jpg resize: (1080, 1632) 1359844721 -4.276647563817593 treat image : temp/1747761146_3544560_1359844709_4372893ac1b1c221714500a031e2a4d1.jpg resize: (1080, 1632) 1359844709 -4.896870481280027 treat image : temp/1747761146_3544560_1359844656_69d22572f19e8bb557b9e7846b4694c4.jpg resize: (1080, 1632) 1359844656 -5.583399012666528 treat image : temp/1747761146_3544560_1359844653_a8c8d0c8aa52fc346a273ba2abcf76db.jpg resize: (1080, 1632) 1359844653 -5.000246476730151 treat image : temp/1747761146_3544560_1359844650_7ec90eb4db2465f3bef1017eb0e1810a.jpg resize: (1080, 1632) 1359844650 -4.928312982345769 treat image : temp/1747761146_3544560_1359844647_f29375f194519eb8dbb9f3a3e72b3cd3.jpg resize: (1080, 1632) 1359844647 -0.23552109943960484 treat image : temp/1747761146_3544560_1359844623_9ae352b90a629250e8c68a5f5df31f74.jpg resize: (1080, 1632) 1359844623 -5.372635741590331 treat image : temp/1747761146_3544560_1359844621_1e1bec1a2972f480853ebe5142b89a71.jpg resize: (1080, 1632) 1359844621 -3.1998647065382038 treat image : temp/1747761146_3544560_1359844620_5128a2bc0b52b2ddf530c5c34db113f3.jpg resize: (1080, 1632) 1359844620 -4.633761961964835 treat image : temp/1747761146_3544560_1359844617_2b1f288f6634dd1303a145474196d3c9.jpg resize: (1080, 1632) 1359844617 -5.293675857393598 treat image : temp/1747761146_3544560_1359844611_da3d4edeac19e63c4ad8b939ffc027b7.jpg resize: (1080, 1632) 1359844611 -3.5595688283936546 treat image : temp/1747761146_3544560_1359844606_439c4cfe24887272bf008441e8f037d5.jpg resize: (1080, 1632) 1359844606 -3.8199990342107064 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.01769232749938965 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.02234959602355957 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019910335540771484 save missing photos in datou_result : time spend for datou_step_exec : 18.121278762817383 time spend to save output : 0.06485247611999512 total time spend for step 1 : 18.186131238937378 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.14user 5.54system 0:22.91elapsed 90%CPU (0avgtext+0avgdata 137408maxresident)k 4312inputs+9128outputs (49major+260282minor)pagefaults 0swaps