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 : 448908 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 : 3174>100 please execute split_portfolio.py -i 21570233 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2678697'] with mtr_portfolio_ids : ['21570233'] and first list_photo_ids : [] new path : /proc/448908/ 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.5909883975982666 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 Mar 21 17:07: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/1742573247_448908_1346084328_ceb9db373fa367b33b6abac4b1c01e7e.jpg resize: (1080, 1632) 1346084328 -4.543134852611666 treat image : temp/1742573247_448908_1346084303_e86b08244444da29b4db24d48ffd31c1.jpg resize: (1080, 1632) 1346084303 -1.9198617140355343 treat image : temp/1742573247_448908_1346084276_5dc64e04e43a0721a1c89f5908409c34.jpg resize: (1080, 1632) 1346084276 -2.708721021308823 treat image : temp/1742573247_448908_1346084251_4c5eb58644d4ba1ac1142ff4e77b3226.jpg resize: (1080, 1632) 1346084251 -4.182792142271837 treat image : temp/1742573247_448908_1346084236_8cc554589a8e7874d959dcd2dd76dfe2.jpg resize: (1080, 1632) 1346084236 -3.896789710632824 treat image : temp/1742573247_448908_1346084212_25d8c282e7d005efb214613e5b1b98d8.jpg resize: (1080, 1632) 1346084212 -3.3814170733341293 treat image : temp/1742573247_448908_1346084170_8cf11d3982e7143ac550f46cd781392e.jpg resize: (1080, 1632) 1346084170 -6.635287238445022 treat image : temp/1742573247_448908_1346084105_83064db65fbf343ee85ed1ab35f21cce.jpg resize: (1080, 1632) 1346084105 -6.620504585154787 treat image : temp/1742573247_448908_1346083922_1c7c1b8862a01afc2fb1cb196b9941bf.jpg resize: (1080, 1632) 1346083922 -4.973283828695361 treat image : temp/1742573247_448908_1346083750_80ba45a902f27696108c46d8a147c256.jpg resize: (1080, 1632) 1346083750 -3.098649526523741 treat image : temp/1742573247_448908_1346083668_ce1c609108dd665eb2489546c283947a.jpg resize: (1080, 1632) 1346083668 -1.9796343986487668 treat image : temp/1742573247_448908_1346083463_5cca9386dd19d095b361de3a801f59d7.jpg resize: (1080, 1632) 1346083463 -3.401123555728959 treat image : temp/1742573247_448908_1346082565_56f91bde8178bafe5e9567602f34ed1d.jpg resize: (1080, 1632) 1346082565 -5.594308636128317 treat image : temp/1742573247_448908_1346082553_38b90992a055e24da6dcbeb3c66062e3.jpg resize: (1080, 1632) 1346082553 -5.346552896570957 treat image : temp/1742573247_448908_1346082546_1f1e853c89bc980c4530e2bf4cace1c0.jpg resize: (1080, 1632) 1346082546 -3.904205763317994 treat image : temp/1742573247_448908_1346082537_b14969c35e43da92a2008922c0e6e3f9.jpg resize: (1080, 1632) 1346082537 -5.720505183377807 treat image : temp/1742573247_448908_1346082462_d720596e56fa2a60ca25a61205a8597d.jpg resize: (1080, 1632) 1346082462 -6.099826082595496 treat image : temp/1742573247_448908_1346082429_3a52f875f662e2f00203335dc5d03c07.jpg resize: (1080, 1632) 1346082429 -6.241408623571789 treat image : temp/1742573247_448908_1346082390_071fa99324970f45968aece00a0d222d.jpg resize: (1080, 1632) 1346082390 -2.8114114396737824 treat image : temp/1742573247_448908_1346082354_1d064069461be76d06d8faf080e10743.jpg resize: (1080, 1632) 1346082354 -5.582012101709146 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.015559673309326172 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.017705678939819336 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019289255142211914 save missing photos in datou_result : time spend for datou_step_exec : 19.564828157424927 time spend to save output : 0.05810952186584473 total time spend for step 1 : 19.62293767929077 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.14user 7.72system 0:24.02elapsed 91%CPU (0avgtext+0avgdata 140180maxresident)k 352inputs+9936outputs (4major+264283minor)pagefaults 0swaps