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 : 857790 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 : 6174>100 please execute split_portfolio.py -i 25050138 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3305006'] with mtr_portfolio_ids : ['25050138'] and first list_photo_ids : [] new path : /proc/857790/ 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.664738416671753 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 Fri Aug 1 11:07:31 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/1754039248_857790_1374759812_2ef141bfe349d30b6850968c3e4b9137.jpg resize: (1080, 1632) 1374759812 -3.1240493987380846 treat image : temp/1754039248_857790_1374759738_7bca93ff9166ab6d8d1bce65449ca3c7.jpg resize: (1080, 1632) 1374759738 -5.6033519400097624 treat image : temp/1754039248_857790_1374759714_726f7279342767853dee0645b2025139.jpg resize: (1080, 1632) 1374759714 -5.388634570700825 treat image : temp/1754039248_857790_1374759685_b13b10d9c22cf2730542ee993e3d941d.jpg resize: (1080, 1632) 1374759685 -5.69242477375497 treat image : temp/1754039248_857790_1374759666_8f78c7bdcf8d36e1f70d41d061e3318b.jpg resize: (1080, 1632) 1374759666 -4.85872667952673 treat image : temp/1754039248_857790_1374759663_dbb521bc963b33f58669394a084ec067.jpg resize: (1080, 1632) 1374759663 -5.599354365186967 treat image : temp/1754039248_857790_1374753497_b1e64b4f69d4b115cc48d5daa58f7adf.jpg resize: (1080, 1632) 1374753497 -2.1299035199522907 treat image : temp/1754039248_857790_1374753495_a069227f2b9ecaea01a3f43a83985bda.jpg resize: (1080, 1632) 1374753495 -2.2847610389603377 treat image : temp/1754039248_857790_1374753493_a5fc2e6b9d77c853cc066675d00b8a64.jpg resize: (1080, 1632) 1374753493 -5.301964455330195 treat image : temp/1754039248_857790_1374753490_e02c543824a6a78702a295717c0ab1f4.jpg resize: (1080, 1632) 1374753490 -5.64573279574027 treat image : temp/1754039248_857790_1374753232_f85c2276ae0f410eff4d710e1f974311.jpg resize: (1080, 1632) 1374753232 -2.5088357751549206 treat image : temp/1754039248_857790_1374753223_04e7952550221f5c6004301e670ce522.jpg resize: (1080, 1632) 1374753223 0.2671439731334898 treat image : temp/1754039248_857790_1374753173_63ddf909ffc713f1ed5bf363d0a88d39.jpg resize: (1080, 1632) 1374753173 -3.22602596493889 treat image : temp/1754039248_857790_1374753163_7b4c9dd54e54f52e21fea088ff69ea98.jpg resize: (1080, 1632) 1374753163 -4.408117892053122 treat image : temp/1754039248_857790_1374753131_cfc5f240217755eb6416191e86861701.jpg resize: (1080, 1632) 1374753131 -2.6112926841926347 treat image : temp/1754039248_857790_1374753128_d70d2f08966921d2fd773d4f9fcd1b77.jpg resize: (1080, 1632) 1374753128 -4.756337323113659 treat image : temp/1754039248_857790_1374752903_e8bb4b0b5c462829606486dd7e6af86e.jpg resize: (1080, 1632) 1374752903 -4.839895720259126 treat image : temp/1754039248_857790_1374752901_3b7031c8e05388ed4ffa1f2041fed8ee.jpg resize: (1080, 1632) 1374752901 -5.481828827598865 treat image : temp/1754039248_857790_1374752895_3d3d9d465575d18a9ad8c47dfa750d52.jpg resize: (1080, 1632) 1374752895 -5.632571095675105 treat image : temp/1754039248_857790_1374752849_9e5490cac7ae8e026b4890a3262267b9.jpg resize: (1080, 1632) 1374752849 -5.442661036448515 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.01764702796936035 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.023846864700317383 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017017126083374023 save missing photos in datou_result : time spend for datou_step_exec : 18.77383065223694 time spend to save output : 0.06311249732971191 total time spend for step 1 : 18.83694314956665 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.33user 6.87system 0:25.76elapsed 82%CPU (0avgtext+0avgdata 139588maxresident)k 144inputs+8984outputs (6major+261493minor)pagefaults 0swaps