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 : 4100516 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 : 492>100 please execute split_portfolio.py -i 21605229 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681618'] with mtr_portfolio_ids : ['21605229'] and first list_photo_ids : [] new path : /proc/4100516/ 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.3154125213623047 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 Mar 22 07:07: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/1742623647_4100516_1346347914_be0602695ed4a572dbc004ba6888999d.jpg resize: (1080, 1632) 1346347914 -4.923690919675589 treat image : temp/1742623647_4100516_1346347886_1ba11e1bd08afe1cc495f784dc71ed63.jpg resize: (1080, 1632) 1346347886 -6.103319961367837 treat image : temp/1742623647_4100516_1346347844_1fcf20fcf03ed735e4ca4e74e056d3ee.jpg resize: (1080, 1632) 1346347844 -6.11527663294168 treat image : temp/1742623647_4100516_1346347818_cbca8cbf1a369c7ed96502e001a37dc5.jpg resize: (1080, 1632) 1346347818 -6.0810589322861 treat image : temp/1742623647_4100516_1346347798_673684bde61e63460ad815e4fe558f25.jpg resize: (1080, 1632) 1346347798 -4.010845814310109 treat image : temp/1742623647_4100516_1346347775_b15d298d7b3972cd551fe54b8355803b.jpg resize: (1080, 1632) 1346347775 -5.577845325323364 treat image : temp/1742623647_4100516_1346347693_1d67e96226353e00a305ef0f12f158d5.jpg resize: (1080, 1632) 1346347693 -5.909267989064571 treat image : temp/1742623647_4100516_1346347690_48eef14da8f6251c59d6334be625ede0.jpg resize: (1080, 1632) 1346347690 -5.533942941753448 treat image : temp/1742623647_4100516_1346347687_c5ec7cfccbf6ef2c61add3173ca933cf.jpg resize: (1080, 1632) 1346347687 -2.7514176139928157 treat image : temp/1742623647_4100516_1346347684_47e65adfde22b77e91cd18f5157522ab.jpg resize: (1080, 1632) 1346347684 -2.261009147301561 treat image : temp/1742623647_4100516_1346347679_620da5460069dc6d01c7911a42230e66.jpg resize: (1080, 1632) 1346347679 -1.786094374521823 treat image : temp/1742623647_4100516_1346347673_5e5c57ac873ee863d23f1e76254e0a65.jpg resize: (1080, 1632) 1346347673 -4.3154589532459715 treat image : temp/1742623647_4100516_1346347408_794e844b14528ac2305c3ffed58912ff.jpg resize: (1080, 1632) 1346347408 -4.834875178457949 treat image : temp/1742623647_4100516_1346347391_bdb3f46790754fb37c590467189e16ae.jpg resize: (1080, 1632) 1346347391 -5.253740180681377 treat image : temp/1742623647_4100516_1346347388_a8b41d85050b8019b8e3081d57d9285d.jpg resize: (1080, 1632) 1346347388 -5.552811834427059 treat image : temp/1742623647_4100516_1346347387_d72a89119f2984ebf39dc47923fac256.jpg resize: (1080, 1632) 1346347387 -5.816916448813268 treat image : temp/1742623647_4100516_1346347376_2cd8a6e010fef4fb84b534f9ebe2ef4e.jpg resize: (1080, 1632) 1346347376 -2.977971690811315 treat image : temp/1742623647_4100516_1346347371_9a1e5aed4a1ab33e99573ec88a7070bb.jpg resize: (1080, 1632) 1346347371 -2.3547388177246322 treat image : temp/1742623647_4100516_1346347366_b225e16269dce71092b8fc29aa78c34a.jpg resize: (1080, 1632) 1346347366 -2.4143983061029783 treat image : temp/1742623647_4100516_1346347363_c5b518638821c97f5924f1c05dd40b8c.jpg resize: (1080, 1632) 1346347363 -4.646138713574366 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.020749568939208984 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.01478123664855957 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 1.558603048324585 save missing photos in datou_result : time spend for datou_step_exec : 15.476449966430664 time spend to save output : 1.5989575386047363 total time spend for step 1 : 17.0754075050354 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.04user 3.85system 0:20.84elapsed 85%CPU (0avgtext+0avgdata 140160maxresident)k 144inputs+9448outputs (16major+259331minor)pagefaults 0swaps