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 : 3398863 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 : 8550>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/3398863/ 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.2906556129455566 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 5 07:32:30 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/1751693548_3398863_1370749816_4218b4a67efbfb8075feef6c0d0378e9.jpg resize: (1080, 1632) 1370749816 -5.013204410057573 treat image : temp/1751693548_3398863_1370749766_6ef7217cd8d659ae590775d9fc6199bb.jpg resize: (1080, 1632) 1370749766 -5.015180911979517 treat image : temp/1751693548_3398863_1370749736_ab5adea71f8a376340e20441fb119a0b.jpg resize: (1080, 1632) 1370749736 -5.007860363023926 treat image : temp/1751693548_3398863_1370749704_10ecccc64131fd113e0ed57f49bb8af8.jpg resize: (1080, 1632) 1370749704 -5.015450332772521 treat image : temp/1751693548_3398863_1370749690_78691b1d79f2f9182ff65db8d581d537.jpg resize: (1080, 1632) 1370749690 -5.005643071832113 treat image : temp/1751693548_3398863_1370749650_63b27d22f490255aa8211cd3ffb1f115.jpg resize: (1080, 1632) 1370749650 -5.00564898961774 treat image : temp/1751693548_3398863_1370749620_a1ff21e47205f7ea50bd7997d1a11ea9.jpg resize: (1080, 1632) 1370749620 -5.006540709994387 treat image : temp/1751693548_3398863_1370749616_13cc5843172e2c8e54af4082f3219a06.jpg resize: (1080, 1632) 1370749616 -5.009850574401144 treat image : temp/1751693548_3398863_1370749613_c831f39f104a69b7db869c656e7dfc92.jpg resize: (1080, 1632) 1370749613 -5.010723276923992 treat image : temp/1751693548_3398863_1370749611_c9d1646badb782954f89e71cd8baf180.jpg resize: (1080, 1632) 1370749611 -5.023932448106723 treat image : temp/1751693548_3398863_1370749609_8d5eaa5b3dbffa7dc36ad4e072d40a8f.jpg resize: (1080, 1632) 1370749609 -5.021000915070389 treat image : temp/1751693548_3398863_1370749606_3b77c26285fbd79efa2a2528da11968b.jpg resize: (1080, 1632) 1370749606 -5.018067493137782 treat image : temp/1751693548_3398863_1370749599_ffc8588a6d703e35a1555b7504914fa9.jpg resize: (1080, 1632) 1370749599 -5.011064096777798 treat image : temp/1751693548_3398863_1370749596_7a14a4260c22934347afca296812d83e.jpg resize: (1080, 1632) 1370749596 -5.016007565076465 treat image : temp/1751693548_3398863_1370749576_6fad1b67965aa4f73069742fde7ca795.jpg resize: (1080, 1632) 1370749576 -5.021031967008437 treat image : temp/1751693548_3398863_1370749573_5988d99b92209b6db65029d30062f4a8.jpg resize: (1080, 1632) 1370749573 -5.019671268073917 treat image : temp/1751693548_3398863_1370749570_a06acb05f51f39b67ea4301ebbe041f2.jpg resize: (1080, 1632) 1370749570 -5.018455988462711 treat image : temp/1751693548_3398863_1370749563_97e708e213973d02ebb86231be16e34a.jpg resize: (1080, 1632) 1370749563 -5.01736608141203 treat image : temp/1751693548_3398863_1370749376_d58952a310c6505be7f754b5555f3b61.jpg resize: (1080, 1632) 1370749376 -5.009503358233045 treat image : temp/1751693548_3398863_1370749374_fa58a115bb2b7fb104ea42c959446699.jpg resize: (1080, 1632) 1370749374 -5.007370936849456 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.012176036834716797 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.0979611873626709 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.07035231590270996 save missing photos in datou_result : time spend for datou_step_exec : 17.691649198532104 time spend to save output : 0.1854720115661621 total time spend for step 1 : 17.877121210098267 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.58user 5.04system 0:23.28elapsed 88%CPU (0avgtext+0avgdata 139564maxresident)k 272inputs+10120outputs (5major+262660minor)pagefaults 0swaps