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 : 1303979 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 : 3066>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/1303979/ 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.36326003074646 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 2 16:57: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/1751468249_1303979_1369967937_71b5bded6e442021b4f8431d70ad9629.jpg resize: (1080, 1632) 1369967937 -2.6152877218350343 treat image : temp/1751468249_1303979_1369967935_80851f88ea210c9a32adca2a2970f5b5.jpg resize: (1080, 1632) 1369967935 -2.827756953965178 treat image : temp/1751468249_1303979_1369967933_e25b0f7a98edadbdcb16baaeb5f2339a.jpg resize: (1080, 1632) 1369967933 -2.8369802151371024 treat image : temp/1751468249_1303979_1369967897_21a71cb42df3c4e370a18ab4dd91aa00.jpg resize: (1080, 1632) 1369967897 -2.829774438412583 treat image : temp/1751468249_1303979_1369967571_0cbacdf88799c6915cc8c4a928e079d3.jpg resize: (1080, 1632) 1369967571 -2.3409512124534984 treat image : temp/1751468249_1303979_1369967512_17749d623c2e8014423e0b9413654f62.jpg resize: (1080, 1632) 1369967512 -4.99752279121379 treat image : temp/1751468249_1303979_1369967478_4ec67a6158a714f2c138481ff354185f.jpg resize: (1080, 1632) 1369967478 -4.365546964868476 treat image : temp/1751468249_1303979_1369967455_8327b0903fbc55b3938c3711f9294225.jpg resize: (1080, 1632) 1369967455 -4.129299670048121 treat image : temp/1751468249_1303979_1369967452_ee622a91a7280011892ada34e51b46cf.jpg resize: (1080, 1632) 1369967452 -4.47749030351967 treat image : temp/1751468249_1303979_1369967450_2273488a9da89c0fe3b644ccad6f8ff6.jpg resize: (1080, 1632) 1369967450 -3.0381575096319797 treat image : temp/1751468249_1303979_1369940177_f6fa04e25b15933b7ec023e357903b04.jpg resize: (1080, 1632) 1369940177 -4.375751106914402 treat image : temp/1751468249_1303979_1369940166_7ebaec46e54e429eff3b7bbb855a0838.jpg resize: (1080, 1632) 1369940166 -3.068139890446017 treat image : temp/1751468249_1303979_1369939282_f5bdfb18cd4355b88becc0d5d4de1283.jpg resize: (1080, 1632) 1369939282 -5.189582072774033 treat image : temp/1751468249_1303979_1369939215_3e4856fd3f97eb6de1469e95dab810bc.jpg resize: (1080, 1632) 1369939215 -5.2156087350087255 treat image : temp/1751468249_1303979_1369939141_a3950e59ff43fc9b499340c3bc94143c.jpg resize: (1080, 1632) 1369939141 -4.48438383066058 treat image : temp/1751468249_1303979_1369939077_3aade87b39eb3ce35720317722f3c1eb.jpg resize: (1080, 1632) 1369939077 -5.746495791484778 treat image : temp/1751468249_1303979_1369938347_8a0e49cdb0417a19f16f8e48a250e88f.jpg resize: (1080, 1632) 1369938347 -1.7407027074101775 treat image : temp/1751468249_1303979_1369938333_62b777360c138a1da695977e2369e889.jpg resize: (1080, 1632) 1369938333 -1.7900083649019074 treat image : temp/1751468249_1303979_1369938328_eb88dbf2b0b7b00705f1523e4eae0bee.jpg resize: (1080, 1632) 1369938328 -1.7747249024520653 treat image : temp/1751468249_1303979_1369938311_ef2cde58321298f23a288fa2b135d5c9.jpg resize: (1080, 1632) 1369938311 -1.7469495219752436 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.013792276382446289 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.015156269073486328 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02688455581665039 save missing photos in datou_result : time spend for datou_step_exec : 16.306530237197876 time spend to save output : 0.0605165958404541 total time spend for step 1 : 16.36704683303833 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.04user 4.65system 0:22.48elapsed 87%CPU (0avgtext+0avgdata 136784maxresident)k 3920inputs+8048outputs (17major+260139minor)pagefaults 0swaps