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 : 3050 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 : 1167>100 please execute split_portfolio.py -i 25155834 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3316381'] with mtr_portfolio_ids : ['25155834'] and first list_photo_ids : [] new path : /proc/3050/ 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.92997145652771 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 Tue Jul 22 05:47: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/1753156049_3050_1373103417_b617f0922f4a79edbeac229c5c2e7f9f.jpg resize: (1080, 1632) 1373103417 -0.7776921945542251 treat image : temp/1753156049_3050_1373103413_009acd10cd23c9490ba716a33e310b20.jpg resize: (1080, 1632) 1373103413 -2.433076029959506 treat image : temp/1753156049_3050_1373103411_ec1b5a7e4be63d9dc0195dfb7c3e079a.jpg resize: (1080, 1632) 1373103411 -2.970592974067272 treat image : temp/1753156049_3050_1373103409_3f8c12c97d16bba95b31e40ef5cc75e1.jpg resize: (1080, 1632) 1373103409 -2.7894522130536923 treat image : temp/1753156049_3050_1373103407_80484890a78d57b043dee0cdd43a0a72.jpg resize: (1080, 1632) 1373103407 -4.792235933584473 treat image : temp/1753156049_3050_1373103405_2a0e0f330b9997f03e4c0aa610ad065c.jpg resize: (1080, 1632) 1373103405 -4.804757764883052 treat image : temp/1753156049_3050_1373103389_29455cb5ce1d2cd9f85db7c215b8d7ad.jpg resize: (1080, 1632) 1373103389 -1.9068525625541763 treat image : temp/1753156049_3050_1373103387_45d3d6967d37fef7777cfcdb2d5b8df1.jpg resize: (1080, 1632) 1373103387 -5.247164939629085 treat image : temp/1753156049_3050_1373103385_b16e36563ec16c5cdc561c227540df68.jpg resize: (1080, 1632) 1373103385 -5.463790755144421 treat image : temp/1753156049_3050_1373103384_63bf754435dcfa750be6cf41174d235f.jpg resize: (1080, 1632) 1373103384 -4.882619075890558 treat image : temp/1753156049_3050_1373103381_cd589ce325ff10a84c01a63cc628b52c.jpg resize: (1080, 1632) 1373103381 -3.196286543675053 treat image : temp/1753156049_3050_1373103379_ec06fa58fbd1dbd1beaacd561d0722a6.jpg resize: (1080, 1632) 1373103379 -4.167731728024235 treat image : temp/1753156049_3050_1373103366_359ca99092856068bf67766cfb041e1f.jpg resize: (1080, 1632) 1373103366 -4.7577868252306015 treat image : temp/1753156049_3050_1373103364_7010178ce199b3193cb25f604622ca15.jpg resize: (1080, 1632) 1373103364 -4.298603098068737 treat image : temp/1753156049_3050_1373103362_6c3588fe6cb78a63d00567f0a83505e5.jpg resize: (1080, 1632) 1373103362 2.9519995162127306 treat image : temp/1753156049_3050_1373103360_6a4bac6cc78b5dd7a89a10e534ef233f.jpg resize: (1080, 1632) 1373103360 -3.3256359944286698 treat image : temp/1753156049_3050_1373103358_ff5e62fb5da9efdd6a689284c32c4eb4.jpg resize: (1080, 1632) 1373103358 -2.3065325182851826 treat image : temp/1753156049_3050_1373103356_958f8ed743865d837c1ad743be5d6d31.jpg resize: (1080, 1632) 1373103356 -1.0098010453423623 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.012845516204833984 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.06807827949523926 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.18034672737121582 save missing photos in datou_result : time spend for datou_step_exec : 13.496114253997803 time spend to save output : 0.2664642333984375 total time spend for step 1 : 13.76257848739624 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 12.96user 2.86system 0:19.00elapsed 83%CPU (0avgtext+0avgdata 139764maxresident)k 8inputs+7376outputs (0major+235157minor)pagefaults 0swaps