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 : 3947130 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 : 6822>100 please execute split_portfolio.py -i 25197410 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3322248'] with mtr_portfolio_ids : ['25197410'] and first list_photo_ids : [] new path : /proc/3947130/ 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 : 2.005598306655884 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 Wed Jul 23 22:47: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/1753303648_3947130_1373406875_19fdc9241d9da6a1bb33cfa5c5778fbe.jpg resize: (1080, 1632) 1373406875 -3.2422636686479285 treat image : temp/1753303648_3947130_1373406868_c30ddb879cbc053e830f5c06f4eab7fa.jpg resize: (1080, 1632) 1373406868 -3.2111798266957328 treat image : temp/1753303648_3947130_1373406865_bc32ce325eb9739a5fa1c2a33f547bcf.jpg resize: (1080, 1632) 1373406865 -3.2247586002934803 treat image : temp/1753303648_3947130_1373406864_e1974fad41291c1fc91c5f17dac9ec39.jpg resize: (1080, 1632) 1373406864 -2.4826299133775818 treat image : temp/1753303648_3947130_1373406861_1c4d9b7aff7b4097596f75107a6dfe20.jpg resize: (1080, 1632) 1373406861 -2.7463438292814386 treat image : temp/1753303648_3947130_1373406857_0679553183bdda7725383e77ec710658.jpg resize: (1080, 1632) 1373406857 -2.735419692928755 treat image : temp/1753303648_3947130_1373406843_4af81beef0c32f3f451d11e2c177b2fd.jpg resize: (1080, 1632) 1373406843 -3.1827576065828973 treat image : temp/1753303648_3947130_1373406841_dfe2fc3dc13ede6ef2f04e9961306ff0.jpg resize: (1080, 1632) 1373406841 -3.175428385495804 treat image : temp/1753303648_3947130_1373406840_9f1f1b16f20eb80c4f37a129dfe9cda0.jpg resize: (1080, 1632) 1373406840 -3.2450328660245957 treat image : temp/1753303648_3947130_1373406838_5d1eafc8c86344ccda5462df9151a88f.jpg resize: (1080, 1632) 1373406838 -3.210315959478359 treat image : temp/1753303648_3947130_1373406835_0869663bf9965f36e9f1f85ab25ddee7.jpg resize: (1080, 1632) 1373406835 -3.235274964631323 treat image : temp/1753303648_3947130_1373406828_a13cec8ca7f7408f399c7928d2e775e8.jpg resize: (1080, 1632) 1373406828 -3.227191308775601 treat image : temp/1753303648_3947130_1373406816_f3184af922dc2eb0990d1ed228223ef8.jpg resize: (1080, 1632) 1373406816 -4.765334467477204 treat image : temp/1753303648_3947130_1373406814_e53511db512aa1bea8374b26cc36707b.jpg resize: (1080, 1632) 1373406814 -4.790376687442803 treat image : temp/1753303648_3947130_1373406808_35781bba0851819166392faef2b99728.jpg resize: (1080, 1632) 1373406808 -4.8540999943358 treat image : temp/1753303648_3947130_1373406786_d6749c717879223d12d52bc80b70b7ac.jpg resize: (1080, 1632) 1373406786 -0.07547111962092592 treat image : temp/1753303648_3947130_1373406767_0f1f3518d88c3b6c80c5c28405679796.jpg resize: (1080, 1632) 1373406767 -2.183147810753493 treat image : temp/1753303648_3947130_1373406725_45891a4522cdcfd006761835b256f463.jpg resize: (1080, 1632) 1373406725 -3.115836333391502 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.015770673751831055 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.01599884033203125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.01783609390258789 save missing photos in datou_result : time spend for datou_step_exec : 13.995376825332642 time spend to save output : 0.05445218086242676 total time spend for step 1 : 14.049829006195068 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 13.00user 3.34system 0:18.34elapsed 89%CPU (0avgtext+0avgdata 137968maxresident)k 32inputs+6816outputs (2major+234521minor)pagefaults 0swaps