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 : 1940531 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 : 857>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/1940531/ 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.1242759227752686 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 Thu May 22 08:27: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/1747895247_1940531_1360445199_42ae36aa200d6f00781f79794c88d9fd.jpg resize: (1080, 1632) 1360445199 -5.387751406350523 treat image : temp/1747895247_1940531_1360445193_672038f8e1cee02ae34d4cf31315d71d.jpg resize: (1080, 1632) 1360445193 -5.028049026752921 treat image : temp/1747895247_1940531_1360445191_a1a7bfe069663c40aa0c883a5030cf45.jpg resize: (1080, 1632) 1360445191 -4.014638492453631 treat image : temp/1747895247_1940531_1360445125_c170cfeeb5cff0b643ffe562c7df1dfa.jpg resize: (1080, 1632) 1360445125 -1.5329924064285336 treat image : temp/1747895247_1940531_1360445115_7515b2ea7a2bbc96dcfd7c6216fdf122.jpg resize: (1080, 1632) 1360445115 -2.2396908731410936 treat image : temp/1747895247_1940531_1360445113_48749ac791fd3c692c8bd183e015ccf9.jpg resize: (1080, 1632) 1360445113 -4.452156229077842 treat image : temp/1747895247_1940531_1360444768_b37b6d08acc7c16da3f6f896a7921900.jpg resize: (1080, 1632) 1360444768 -6.322420696776985 treat image : temp/1747895247_1940531_1360444761_d4b8001a5d1b919b93aa6533f686ee19.jpg resize: (1080, 1632) 1360444761 -6.1409210040307345 treat image : temp/1747895247_1940531_1360444755_0f34f84a3c156ca1b4d3cdb7e8f6519d.jpg resize: (1080, 1632) 1360444755 -3.3096658397396466 treat image : temp/1747895247_1940531_1360444557_922e67661e746caa587fb4d189f64f24.jpg resize: (1080, 1632) 1360444557 -3.007648108206216 treat image : temp/1747895247_1940531_1360444554_c524c1533f56be8f0f78731fe37a93d0.jpg resize: (1080, 1632) 1360444554 -5.5325098503090935 treat image : temp/1747895247_1940531_1360444551_a3aa856ee21936141c990981f1ea6d59.jpg resize: (1080, 1632) 1360444551 -5.680561020640981 treat image : temp/1747895247_1940531_1360444549_0ef09208bda12abea0814a2a14f0c0d6.jpg resize: (1080, 1632) 1360444549 -2.9877489413168967 treat image : temp/1747895247_1940531_1360444363_cc150c963f9958d90917fb2a04c6303b.jpg resize: (1080, 1632) 1360444363 -4.820416251601158 treat image : temp/1747895247_1940531_1360444360_f782d9a53f83e7bf271a17f989d40550.jpg resize: (1080, 1632) 1360444360 -5.650100941860422 treat image : temp/1747895247_1940531_1360444357_472665c08e1321c844476d804c0b7043.jpg resize: (1080, 1632) 1360444357 -5.319062091627194 treat image : temp/1747895247_1940531_1360441764_8db6ee5e742564d8c55cc9fb490201f3.jpg resize: (1080, 1632) 1360441764 -6.443155871290314 treat image : temp/1747895247_1940531_1360441762_753b3c2839ddbeb1d85505129684af0d.jpg resize: (1080, 1632) 1360441762 -6.432778255388943 treat image : temp/1747895247_1940531_1360441732_30c421a29096706814fdde432f445505.jpg resize: (1080, 1632) 1360441732 -3.3945691307176746 treat image : temp/1747895247_1940531_1360441729_2cc230cfe0da5120ba27c8c7f1dd10e5.jpg resize: (1080, 1632) 1360441729 -6.507668973018806 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.022274494171142578 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.05387568473815918 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.08220744132995605 save missing photos in datou_result : time spend for datou_step_exec : 19.75558829307556 time spend to save output : 0.2743103504180908 total time spend for step 1 : 20.029898643493652 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.78user 7.58system 0:24.11elapsed 92%CPU (0avgtext+0avgdata 140548maxresident)k 2592inputs+9936outputs (31major+259259minor)pagefaults 0swaps