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 : 79568 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 : 4131>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/79568/ 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.5624537467956543 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 Jul 17 12:22: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/1752747750_79568_1372397813_89e8c0e76f85a7b52d3fc0ef08c0d8ff.jpg resize: (1080, 1632) 1372397813 -5.250288917584395 treat image : temp/1752747750_79568_1372397808_a679578b57398a2e16d4f309d544cc98.jpg resize: (1080, 1632) 1372397808 -5.264748683747418 treat image : temp/1752747750_79568_1372397803_530d6d63ed12551b5da4c3ec82ae50d6.jpg resize: (1080, 1632) 1372397803 -5.274018648408793 treat image : temp/1752747750_79568_1372397802_a038849bbecbbb2c468a4da1c6ff14bb.jpg resize: (1080, 1632) 1372397802 -5.2774482158060305 treat image : temp/1752747750_79568_1372397798_a8ae9a4e4c2b34d70abf2e246713f3ae.jpg resize: (1080, 1632) 1372397798 -5.270068226790901 treat image : temp/1752747750_79568_1372397795_12840a9bc0d2321df9ab04e9f4244d3b.jpg resize: (1080, 1632) 1372397795 -5.2627164722533415 treat image : temp/1752747750_79568_1372345376_94c7b8dc3b657bd00dc59043779cfdc8.jpg resize: (1080, 1632) 1372345376 -2.966931452939484 treat image : temp/1752747750_79568_1372345373_13a88f7e64a32f60d8e6e48aa72aeffe.jpg resize: (1080, 1632) 1372345373 -2.9791556871869664 treat image : temp/1752747750_79568_1372345346_627fe5e200b5b3c685b21181678c405b.jpg resize: (1080, 1632) 1372345346 -3.094815334347473 treat image : temp/1752747750_79568_1372345344_261c96397a489ae3fcd57dacbf7cc29d.jpg resize: (1080, 1632) 1372345344 -3.085920857124437 treat image : temp/1752747750_79568_1372345343_db12aef8f58fdf4ce38544bcf6ad67a9.jpg resize: (1080, 1632) 1372345343 -3.097135057747691 treat image : temp/1752747750_79568_1372345341_504e6914fe7c7db828c6a2fb8a12d721.jpg resize: (1080, 1632) 1372345341 -3.1033696015855106 treat image : temp/1752747750_79568_1372345339_6e2299906d079b949ad4553a9a4f0883.jpg resize: (1080, 1632) 1372345339 -3.100781772099449 treat image : temp/1752747750_79568_1372345337_40b127ea847df43713acae8546d8e234.jpg resize: (1080, 1632) 1372345337 -3.106297698938056 treat image : temp/1752747750_79568_1372345311_89550eefd64387a9f1d03cc442f8b125.jpg resize: (1080, 1632) 1372345311 -3.0713875335683296 treat image : temp/1752747750_79568_1372345310_ee0e7dbfa89f7e519d57dc6c46472d25.jpg resize: (1080, 1632) 1372345310 -3.061702239126746 treat image : temp/1752747750_79568_1372345309_6719e9346a9c737fc8156e07d823f5f6.jpg resize: (1080, 1632) 1372345309 -3.0762346538864236 treat image : temp/1752747750_79568_1372345308_c90564fd0a2f76f811ebd922888d82b0.jpg resize: (1080, 1632) 1372345308 -3.0895814296584625 treat image : temp/1752747750_79568_1372345306_bfb6010b19ca71e3370ddd8c48533c66.jpg resize: (1080, 1632) 1372345306 -3.0736266784926505 treat image : temp/1752747750_79568_1372345304_0623732159a62215bdcd1deaadf0ba6a.jpg resize: (1080, 1632) 1372345304 -3.0745118988698823 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.024608850479125977 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.025707244873046875 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.026556730270385742 save missing photos in datou_result : time spend for datou_step_exec : 14.321378469467163 time spend to save output : 0.08732342720031738 total time spend for step 1 : 14.40870189666748 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.92user 2.52system 0:21.50elapsed 76%CPU (0avgtext+0avgdata 138452maxresident)k 0inputs+8232outputs (0major+259770minor)pagefaults 0swaps