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 : 811028 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 : 8583>100 please execute split_portfolio.py -i 25245749 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3331975'] with mtr_portfolio_ids : ['25245749'] and first list_photo_ids : [] new path : /proc/811028/ 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 : 6.076466083526611 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 10:42:34 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/1754037748_811028_1374630616_81ad51b49683a2859a4e778c8f5bf04a.jpg resize: (1080, 1632) 1374630616 -4.357644899526462 treat image : temp/1754037748_811028_1374630612_02e9f9111aedfc102076f7fef8065d30.jpg resize: (1080, 1632) 1374630612 -4.045308093484832 treat image : temp/1754037748_811028_1374629638_ade371eafdbef4daff0c13bfe2364bce.jpg resize: (1080, 1632) 1374629638 -3.043174180134302 treat image : temp/1754037748_811028_1374629622_0be0db3305c7fd2aa47019fcd17f7b55.jpg resize: (1080, 1632) 1374629622 -3.8934758758125607 treat image : temp/1754037748_811028_1374629616_7abd9581fe673614c083fb5f67096fab.jpg resize: (1080, 1632) 1374629616 -1.78279174852751 treat image : temp/1754037748_811028_1374629614_b11a22f8611f5d3a17aebdfb23330a92.jpg resize: (1080, 1632) 1374629614 -2.561364320481982 treat image : temp/1754037748_811028_1374629580_3bb1cb19191332a6c7519c25bfe91951.jpg resize: (1080, 1632) 1374629580 -1.4472405636960983 treat image : temp/1754037748_811028_1374629578_1e5fb309966605fb382ac1b2d0113fbb.jpg resize: (1080, 1632) 1374629578 -0.9147300702006497 treat image : temp/1754037748_811028_1374629576_d087d5317421c34cdc454ca7a0bd365e.jpg resize: (1080, 1632) 1374629576 -5.168115830356967 treat image : temp/1754037748_811028_1374629573_06a373003c7e8aab161dbd9d2b7090a5.jpg resize: (1080, 1632) 1374629573 -5.119988130927144 treat image : temp/1754037748_811028_1374629568_bc3d483af49881e5ee7009ebda3dc20e.jpg resize: (1080, 1632) 1374629568 -5.539601945490571 treat image : temp/1754037748_811028_1374629547_954176a1ddb1967197473cda346614f0.jpg resize: (1080, 1632) 1374629547 -5.597186033767006 treat image : temp/1754037748_811028_1374629067_8d611bd30830a4e93a0e37f21af8de00.jpg resize: (1080, 1632) 1374629067 -4.376523876034998 treat image : temp/1754037748_811028_1374629055_40fb1b2f083c1e913cfdccfa18efa21f.jpg resize: (1080, 1632) 1374629055 -5.344055530491388 treat image : temp/1754037748_811028_1374629053_eba65161ddcd3c02a5c4981fe8c3a902.jpg resize: (1080, 1632) 1374629053 -5.9028587391088765 treat image : temp/1754037748_811028_1374629052_73693fe0427c6ca6b9917f2c654b8f6d.jpg resize: (1080, 1632) 1374629052 -5.438114718758339 treat image : temp/1754037748_811028_1374628950_1c7b68f8f67fa98f1dade25f23770a01.jpg resize: (1080, 1632) 1374628950 -5.3550357590941315 treat image : temp/1754037748_811028_1374628949_ec2ca62690dd79ef20dd0f59c982dc2a.jpg resize: (1080, 1632) 1374628949 -3.5100468798617563 treat image : temp/1754037748_811028_1374628947_a39ea16e34ace18be61689c1dc39c256.jpg resize: (1080, 1632) 1374628947 -3.010589595845395 treat image : temp/1754037748_811028_1374628945_482c763b61d0c86b711eb3184d33d828.jpg resize: (1080, 1632) 1374628945 -2.0409745905005154 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.013617992401123047 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.013906240463256836 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015997648239135742 save missing photos in datou_result : time spend for datou_step_exec : 17.231634855270386 time spend to save output : 0.0481104850769043 total time spend for step 1 : 17.27974534034729 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.61user 5.33system 0:26.58elapsed 75%CPU (0avgtext+0avgdata 138600maxresident)k 136inputs+8736outputs (12major+253264minor)pagefaults 0swaps