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 : 3057699 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 updating current state to 1 we have a portfolio with more photos than limit : 2639>100 please execute split_portfolio.py -i 26625914 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3676285'] with mtr_portfolio_ids : ['26625914'] and first list_photo_ids : [] new path : /proc/3057699/ 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.391347646713257 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 Mon Sep 8 20:02: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/1757354548_3057699_1382620529_e9fc75fc4257b7ba9d14705047e02013.jpg resize: (1080, 1632) 1382620529 -4.257661159740839 treat image : temp/1757354548_3057699_1382620527_59ecd5e3f699a9e509ad13e970fcb2fa.jpg resize: (1080, 1632) 1382620527 -4.650410352410874 treat image : temp/1757354548_3057699_1382620524_ee8f879eded892d141ba7c6cab88b04a.jpg resize: (1080, 1632) 1382620524 -1.6568909492553934 treat image : temp/1757354548_3057699_1382620471_48d4aa12d690dab7b5d7d7763a3c8586.jpg resize: (1080, 1632) 1382620471 -4.037480382396244 treat image : temp/1757354548_3057699_1382620437_cadc70b4b2f937531ae0e41d7f3af9f9.jpg resize: (1080, 1632) 1382620437 -6.175739951916282 treat image : temp/1757354548_3057699_1382620416_1668c74eaed723ed6800783a088ce111.jpg resize: (1080, 1632) 1382620416 -5.7681173026108725 treat image : temp/1757354548_3057699_1382620406_3a6c2193217498eee6018fa9a05c7b70.jpg resize: (1080, 1632) 1382620406 -4.870013484932221 treat image : temp/1757354548_3057699_1382620365_1439efb1998cc1dfe1c3b4a96f6d8835.jpg resize: (1080, 1632) 1382620365 -5.976585883227917 treat image : temp/1757354548_3057699_1382620331_04b8b610c50b221e7fb94df117e413ea.jpg resize: (1080, 1632) 1382620331 -6.124638602460675 treat image : temp/1757354548_3057699_1382620201_c5122a80f9d89c0dd9b5ddcca3251e7c.jpg resize: (1080, 1632) 1382620201 -3.2132582563796674 treat image : temp/1757354548_3057699_1382620199_bf4a93a76e548fbb41e496df895a9f9a.jpg resize: (1080, 1632) 1382620199 -3.2132582563796674 treat image : temp/1757354548_3057699_1382620197_6698f8b0a2b359dac2169093a9a43e25.jpg resize: (1080, 1632) 1382620197 -5.862670103327777 treat image : temp/1757354548_3057699_1382620196_631893435d8780ea3b3828d2108915eb.jpg resize: (1080, 1632) 1382620196 -5.862670103327777 treat image : temp/1757354548_3057699_1382620187_79e2b56cb71e0925ac9acc9cfe43d8e2.jpg resize: (1080, 1632) 1382620187 -1.726475762228917 treat image : temp/1757354548_3057699_1382620185_1f708cc95ecc59b84090a5b50da0e10c.jpg resize: (1080, 1632) 1382620185 -1.726475762228917 treat image : temp/1757354548_3057699_1382620182_7029997ea3346f72341a4dfc8061f531.jpg resize: (1080, 1632) 1382620182 -3.706014654611902 treat image : temp/1757354548_3057699_1382620181_e6dcf4dbf26273e56d71d5f12c13eb3f.jpg resize: (1080, 1632) 1382620181 -3.706014654611902 treat image : temp/1757354548_3057699_1382620177_8673d7294cf8bdd119a9b48214c90539.jpg resize: (1080, 1632) 1382620177 -3.295003371306796 treat image : temp/1757354548_3057699_1382620176_08514aa167cb83ed79701d6c07f04fad.jpg resize: (1080, 1632) 1382620176 -3.295003371306796 treat image : temp/1757354548_3057699_1382620134_22244f61a132472762a5c8fe22befaa1.jpg resize: (1080, 1632) 1382620134 -1.051870409201174 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.01670551300048828 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.014937400817871094 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018950939178466797 save missing photos in datou_result : time spend for datou_step_exec : 16.198578357696533 time spend to save output : 0.055266380310058594 total time spend for step 1 : 16.253844738006592 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.66user 4.31system 0:21.86elapsed 86%CPU (0avgtext+0avgdata 137796maxresident)k 16inputs+9392outputs (20major+260211minor)pagefaults 0swaps