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 : 2626830 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 : 7066>100 please execute split_portfolio.py -i 25245749 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3331975'] with mtr_portfolio_ids : ['25245749'] and first list_photo_ids : [] new path : /proc/2626830/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.219268798828125 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 24 22:47: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/1753390046_2626830_1373609474_4fbcc9488be5de7149bfa09a0f76c891.jpg resize: (1080, 1632) 1373609474 -4.847970977082092 treat image : temp/1753390046_2626830_1373609472_df8912f1daa07d499cce22f79ab62888.jpg resize: (1080, 1632) 1373609472 -3.578512611967334 treat image : temp/1753390046_2626830_1373609471_a16fa13c3bf80a83bab26be5b075b9c3.jpg resize: (1080, 1632) 1373609471 -5.339234615521364 treat image : temp/1753390046_2626830_1373609470_258c7faf310123607dc2dc6355aa01c9.jpg resize: (1080, 1632) 1373609470 -4.790441322399671 treat image : temp/1753390046_2626830_1373609455_f09f7864463e7e9c5e49439066d09601.jpg resize: (1080, 1632) 1373609455 -5.4525906274973766 treat image : temp/1753390046_2626830_1373609453_62aecf54c99cfb75b0d1dd9ce23fce2f.jpg resize: (1080, 1632) 1373609453 -5.0164684239176305 treat image : temp/1753390046_2626830_1373609315_ba59fa79c6d6c1c6e991b786f9cae7e8.jpg resize: (1080, 1632) 1373609315 -2.99897580081993 treat image : temp/1753390046_2626830_1373609295_10ea84ba9b325b0883f5626b25120d7d.jpg resize: (1080, 1632) 1373609295 -3.5777309141308584 treat image : temp/1753390046_2626830_1373609272_910368288ff5218f145aa563b4b9641a.jpg resize: (1080, 1632) 1373609272 -3.5752105774112395 treat image : temp/1753390046_2626830_1373609249_ad29b793af43b06046624c432861830c.jpg resize: (1080, 1632) 1373609249 -3.573903517883827 treat image : temp/1753390046_2626830_1373609224_68aee4c4d1dea664fbf5639723f694bb.jpg resize: (1080, 1632) 1373609224 -3.562155694126326 treat image : temp/1753390046_2626830_1373609195_8856fc53d63c9be89a45337a1cf7175f.jpg resize: (1080, 1632) 1373609195 -3.556416941614946 treat image : temp/1753390046_2626830_1373609181_51f5134c1ce16d23f28b7baf0b9c6772.jpg resize: (1080, 1632) 1373609181 -3.159505397336191 treat image : temp/1753390046_2626830_1373609178_718fa17e5b71a90c8884d47c4d0c2c8d.jpg resize: (1080, 1632) 1373609178 -3.1417927957579765 treat image : temp/1753390046_2626830_1373609177_56d178fb620014b034237981aec0e202.jpg resize: (1080, 1632) 1373609177 -3.2053979291609056 treat image : temp/1753390046_2626830_1373609175_6f935c32f8d9829f03723dda3ae9d6b2.jpg resize: (1080, 1632) 1373609175 -3.2104125598025854 treat image : temp/1753390046_2626830_1373609173_e193fdf6daf62d13c3ba2f3b328cfa92.jpg resize: (1080, 1632) 1373609173 -1.6220433062119233 treat image : temp/1753390046_2626830_1373609160_f82fa327545b62340b157340437abb71.jpg resize: (1080, 1632) 1373609160 -2.21570223433832 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 : 18 time used for this insertion : 0.01287698745727539 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.012887954711914062 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.015530586242675781 save missing photos in datou_result : time spend for datou_step_exec : 13.275725603103638 time spend to save output : 0.045696258544921875 total time spend for step 1 : 13.32142186164856 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 13.19user 3.25system 0:18.12elapsed 90%CPU (0avgtext+0avgdata 140484maxresident)k 128inputs+7280outputs (4major+189228minor)pagefaults 0swaps