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 : 3180944 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 : 7608>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/3180944/ 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.4096670150756836 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 Sat Jul 5 05:42:28 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/1751686946_3180944_1370739994_2ff734270cdc3743e072b80bc0f0b821.jpg resize: (1080, 1632) 1370739994 -4.556920667844417 treat image : temp/1751686946_3180944_1370739988_e670b087c3db9bb97eda9a7f8c2bb4b9.jpg resize: (1080, 1632) 1370739988 -3.2997025431908007 treat image : temp/1751686946_3180944_1370739984_6f686f16e676fd85856a635f181d412c.jpg resize: (1080, 1632) 1370739984 -4.9396354634237545 treat image : temp/1751686946_3180944_1370739979_49d90c44ac443870819d165c465beb03.jpg resize: (1080, 1632) 1370739979 -4.961668859077103 treat image : temp/1751686946_3180944_1370739975_7de345c75901184dbd79f064ac309d10.jpg resize: (1080, 1632) 1370739975 -4.830607161603415 treat image : temp/1751686946_3180944_1370739968_612b1a0ba412e254c5da8f49677aa11e.jpg resize: (1080, 1632) 1370739968 -4.488567810603232 treat image : temp/1751686946_3180944_1370739840_166a58fc616a341f9c9c03fea230771c.jpg resize: (1080, 1632) 1370739840 -2.5747753928925254 treat image : temp/1751686946_3180944_1370739836_d3fcd111e6e6436fa52c8ce3361d2e6f.jpg resize: (1080, 1632) 1370739836 -4.362864701477545 treat image : temp/1751686946_3180944_1370739833_fd4e1dc4673b730255afde81d027de53.jpg resize: (1080, 1632) 1370739833 -4.356951323498394 treat image : temp/1751686946_3180944_1370739829_329c0221e0c270d8e118e02636c436d7.jpg resize: (1080, 1632) 1370739829 -2.7120938267774712 treat image : temp/1751686946_3180944_1370730538_e7168fd9362c7c85fec8fced092303f8.jpg resize: (1080, 1632) 1370730538 -1.7345113642558176 treat image : temp/1751686946_3180944_1370730535_2743607b9bb9df665d4cd160997a03be.jpg resize: (1080, 1632) 1370730535 -3.522930694306367 treat image : temp/1751686946_3180944_1370730533_480039bf7cc5ccbcba4e1b676ff6cc0f.jpg resize: (1080, 1632) 1370730533 -3.542416895143924 treat image : temp/1751686946_3180944_1370730531_0b52664a2a55aaa7da21e38743a76216.jpg resize: (1080, 1632) 1370730531 -3.562680120561217 treat image : temp/1751686946_3180944_1370730448_d0b8033efd74a0f218fa255678b34e96.jpg resize: (1080, 1632) 1370730448 -3.5576235837507646 treat image : temp/1751686946_3180944_1370730445_9b6df192fa70afa53e004841e760cd69.jpg resize: (1080, 1632) 1370730445 -3.546500968443912 treat image : temp/1751686946_3180944_1370730444_06fa78bafe8317276ca1f348501a87ae.jpg resize: (1080, 1632) 1370730444 -3.522398715652792 treat image : temp/1751686946_3180944_1370730443_31a2af9d1679226b05cfefe94ee38ce3.jpg resize: (1080, 1632) 1370730443 -3.531315012942672 treat image : temp/1751686946_3180944_1370730440_46d4c8c912ae43d2c630c0ff441b624d.jpg resize: (1080, 1632) 1370730440 -3.5414261725329843 treat image : temp/1751686946_3180944_1370730431_4b1b01f4627f0fc64395a20d30cdea11.jpg resize: (1080, 1632) 1370730431 -3.531549755003778 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.014726638793945312 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.014919042587280273 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01593017578125 save missing photos in datou_result : time spend for datou_step_exec : 17.040613651275635 time spend to save output : 0.05062532424926758 total time spend for step 1 : 17.091238975524902 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.67user 5.09system 0:21.20elapsed 93%CPU (0avgtext+0avgdata 137220maxresident)k 408inputs+7648outputs (6major+260012minor)pagefaults 0swaps