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 : 858033 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/858033/ 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 : 3.4968302249908447 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 Sat Jul 19 03:27:32 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/1752888449_858033_1372314493_ab0e8c788225ab656421cb644c5c7871.jpg resize: (1080, 1632) 1372314493 -4.781743520378655 treat image : temp/1752888449_858033_1372314489_da27fd88261bcb0454972084c923b14f.jpg resize: (1080, 1632) 1372314489 -4.806922388464669 treat image : temp/1752888449_858033_1372314483_322b1192fe883e91a072c4503a67dd40.jpg resize: (1080, 1632) 1372314483 -4.791164099877716 treat image : temp/1752888449_858033_1372314477_7bf1ba41144e86d19490bf98ec243c1e.jpg resize: (1080, 1632) 1372314477 -1.5829049171339316 treat image : temp/1752888449_858033_1372314455_a3ffae4320b25c22e61a315f33b852b3.jpg resize: (1080, 1632) 1372314455 -4.822352797563695 treat image : temp/1752888449_858033_1372314451_ba8e4d84bf85d2c5948e58445d062790.jpg resize: (1080, 1632) 1372314451 -4.79620070616546 treat image : temp/1752888449_858033_1372314448_4e6986422c513fad2de613f6512291a0.jpg resize: (1080, 1632) 1372314448 -4.80244016011211 treat image : temp/1752888449_858033_1372314446_6ba867a018885e6a772c0026d4232833.jpg resize: (1080, 1632) 1372314446 -4.804950789704418 treat image : temp/1752888449_858033_1372314442_3549abe53883ee8cf21f60219b3b53d6.jpg resize: (1080, 1632) 1372314442 -4.803572007422732 treat image : temp/1752888449_858033_1372314438_6dc682e7a959de88e9e0556b4342a6d0.jpg resize: (1080, 1632) 1372314438 -4.801095124438154 treat image : temp/1752888449_858033_1372314427_1b9905b881253f8ee6ba0f1fc12245f4.jpg resize: (1080, 1632) 1372314427 -4.816659104109514 treat image : temp/1752888449_858033_1372314425_d9a38182e58441186249942dc1a6f113.jpg resize: (1080, 1632) 1372314425 -4.809537805343005 treat image : temp/1752888449_858033_1372314421_5ef6fdb08c59861397bd717cfedf8f97.jpg resize: (1080, 1632) 1372314421 -4.8275031748373385 treat image : temp/1752888449_858033_1372314418_38c19bbc687243ffaad16a75f2a0b0b4.jpg resize: (1080, 1632) 1372314418 -4.832644322336271 treat image : temp/1752888449_858033_1372314414_04c7b8c267a535dc39932fa48a1224b3.jpg resize: (1080, 1632) 1372314414 -4.811020465324536 treat image : temp/1752888449_858033_1372314409_23137d2c8cf86c047ac53afbd87163ab.jpg resize: (1080, 1632) 1372314409 -4.807992293914902 treat image : temp/1752888449_858033_1372314388_c12a406958cc52749106b0b8d94ef1e9.jpg resize: (1080, 1632) 1372314388 -4.820752503373237 treat image : temp/1752888449_858033_1372314381_ebaeda7dce7abf327240381574dbdf0f.jpg resize: (1080, 1632) 1372314381 -4.811838935376079 treat image : temp/1752888449_858033_1372314376_1d0961899c7673088861e6bc64f03c65.jpg resize: (1080, 1632) 1372314376 -4.803175012568324 treat image : temp/1752888449_858033_1372314371_0f388fe13b1f39c2dea7103accf18d7d.jpg resize: (1080, 1632) 1372314371 -4.824873343350581 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.013170480728149414 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.011900901794433594 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015956878662109375 save missing photos in datou_result : time spend for datou_step_exec : 15.956005573272705 time spend to save output : 0.0462498664855957 total time spend for step 1 : 16.0022554397583 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.20user 3.28system 0:23.01elapsed 80%CPU (0avgtext+0avgdata 138172maxresident)k 40inputs+9440outputs (2major+239321minor)pagefaults 0swaps