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 : 355116 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 : 4053>100 please execute split_portfolio.py -i 25300662 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3345597'] with mtr_portfolio_ids : ['25300662'] and first list_photo_ids : [] new path : /proc/355116/ 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 : 1.9505655765533447 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 Jul 25 14:17: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/1753445847_355116_1373750313_b6bba11b9576363c095c0f29b8388b84.jpg resize: (1080, 1632) 1373750313 -1.4271898915917225 treat image : temp/1753445847_355116_1373750294_19beaecb765a1b4b948ddaa227696531.jpg resize: (1080, 1632) 1373750294 -2.7004374928506256 treat image : temp/1753445847_355116_1373750267_f6092b34c3fae109de01144980d625b0.jpg resize: (1080, 1632) 1373750267 -2.706242159493856 treat image : temp/1753445847_355116_1373750251_3577b720d53474f269592eca02a67f60.jpg resize: (1080, 1632) 1373750251 -2.7149838471987655 treat image : temp/1753445847_355116_1373750242_22c1952f79f0ff295793387f0d6f7d90.jpg resize: (1080, 1632) 1373750242 -1.7394562858674842 treat image : temp/1753445847_355116_1373750232_e644b5ceac48d637be91634e2da9bf3b.jpg resize: (1080, 1632) 1373750232 -2.5776911803752554 treat image : temp/1753445847_355116_1373750151_e9b59062fecc7b55f319520ca39f5e03.jpg resize: (1080, 1632) 1373750151 -5.325547270324 treat image : temp/1753445847_355116_1373750130_019f5047d964537e5879833a1843d292.jpg resize: (1080, 1632) 1373750130 -5.62161064201656 treat image : temp/1753445847_355116_1373750102_522bf35288900710151fe49ad9806612.jpg resize: (1080, 1632) 1373750102 -5.66733060129675 treat image : temp/1753445847_355116_1373750076_ae8f1cbd32dd3e22fc0c01f24a510f83.jpg resize: (1080, 1632) 1373750076 -4.843623854663621 treat image : temp/1753445847_355116_1373750049_ff960b10e8a03670d16b7f8bf23bd1ab.jpg resize: (1080, 1632) 1373750049 -4.865211057302486 treat image : temp/1753445847_355116_1373749987_3afda09c35091f224e83261d2e4f0903.jpg resize: (1080, 1632) 1373749987 -4.752604799708122 treat image : temp/1753445847_355116_1373749948_ba9480dc41a4c070b8b25b644cd817ae.jpg resize: (1080, 1632) 1373749948 -3.381135118341181 treat image : temp/1753445847_355116_1373749945_9fcc10815bb7ab16e09d37da9e1e6553.jpg resize: (1080, 1632) 1373749945 -5.332497849528459 treat image : temp/1753445847_355116_1373749941_48cab86ba972cc8f7478060ee866fdc1.jpg resize: (1080, 1632) 1373749941 -4.733730718623206 treat image : temp/1753445847_355116_1373749935_28c988c7ef57b431fd6b401aaa76e049.jpg resize: (1080, 1632) 1373749935 -5.3552278590792675 treat image : temp/1753445847_355116_1373749933_4ac8253f4d9dff4b13782926a18ee698.jpg resize: (1080, 1632) 1373749933 -5.34432208311085 treat image : temp/1753445847_355116_1373749928_82819620f79e409c2d3f65e3bd078d73.jpg resize: (1080, 1632) 1373749928 -4.493871969095894 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.013653278350830078 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.012151479721069336 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.01681995391845703 save missing photos in datou_result : time spend for datou_step_exec : 14.813337087631226 time spend to save output : 0.0473175048828125 total time spend for step 1 : 14.860654592514038 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.60user 3.64system 0:18.65elapsed 92%CPU (0avgtext+0avgdata 137364maxresident)k 2600inputs+7984outputs (17major+240079minor)pagefaults 0swaps