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 : 1317697 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 : 102>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/1317697/ 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.1629891395568848 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 05:22: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/1747884148_1317697_1360392112_01f76a2034da77fbacc7ec59da7abee4.jpg resize: (1080, 1632) 1360392112 -0.39724170938278186 treat image : temp/1747884148_1317697_1360392048_80d3f665d9a7c44df5e3f2b514cf0d2e.jpg resize: (1080, 1632) 1360392048 -1.8694680038685463 treat image : temp/1747884148_1317697_1360392022_d6f26c318fbae4805c3bc74499861863.jpg resize: (1080, 1632) 1360392022 -3.2942451726170736 treat image : temp/1747884148_1317697_1360391750_812f86c323576bad49bad1789a13722e.jpg resize: (1080, 1632) 1360391750 -3.306854523059335 treat image : temp/1747884148_1317697_1360391724_9adede004bcf39de143510c7bf8aba35.jpg resize: (1080, 1632) 1360391724 -5.627711863636576 treat image : temp/1747884148_1317697_1360391722_81a43287cc4911d54db3caac3e5c80db.jpg resize: (1080, 1632) 1360391722 -5.663489621116729 treat image : temp/1747884148_1317697_1360391720_9de6d819fd388de496f20a7654b689f5.jpg resize: (1080, 1632) 1360391720 -4.734783129069354 treat image : temp/1747884148_1317697_1360391718_f892c35fa14fb001a04eecc72184c3cb.jpg resize: (1080, 1632) 1360391718 -6.1013055590152625 treat image : temp/1747884148_1317697_1360391715_b136aaeac151779a971163e1a3415f0a.jpg resize: (1080, 1632) 1360391715 -6.034189829787672 treat image : temp/1747884148_1317697_1360391473_33d1db92e50e85a3c8162c2db730a1e1.jpg resize: (1080, 1632) 1360391473 -1.5817443295216322 treat image : temp/1747884148_1317697_1360391448_b94a5480af256fe418341dfb486384fa.jpg resize: (1080, 1632) 1360391448 -5.759226855806468 treat image : temp/1747884148_1317697_1360391421_a9c98fd481804729d267ce70ae5dfc9e.jpg resize: (1080, 1632) 1360391421 -6.307856452754223 treat image : temp/1747884148_1317697_1360391392_7fdff3027b9a0d4d691ffa81e5e09be3.jpg resize: (1080, 1632) 1360391392 -5.551622222848287 treat image : temp/1747884148_1317697_1360391387_8859a0845b992fd65919a4bb9cc3e6be.jpg resize: (1080, 1632) 1360391387 -5.321796258205144 treat image : temp/1747884148_1317697_1360391365_317a5cb067f13e1057d202d0139abce0.jpg resize: (1080, 1632) 1360391365 -5.236175861261606 treat image : temp/1747884148_1317697_1360391363_97a20bf688ff4954ca31626fcf3d5057.jpg resize: (1080, 1632) 1360391363 -5.4931233235033154 treat image : temp/1747884148_1317697_1360391235_3156b041c89aa3bcbe0acc859ff8d471.jpg resize: (1080, 1632) 1360391235 -5.538943286321281 treat image : temp/1747884148_1317697_1360391211_689fc90525b9d571ac027d56073abde4.jpg resize: (1080, 1632) 1360391211 -5.3843719809845645 treat image : temp/1747884148_1317697_1360391182_4158fe7b64b49affaba30f34325b0105.jpg resize: (1080, 1632) 1360391182 -1.868853641823721 treat image : temp/1747884148_1317697_1360391154_9b4c9df094f5b685773131f3f52f7589.jpg resize: (1080, 1632) 1360391154 -5.241495408432318 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.013757467269897461 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.01699972152709961 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020068883895874023 save missing photos in datou_result : time spend for datou_step_exec : 15.264393329620361 time spend to save output : 0.05514097213745117 total time spend for step 1 : 15.319534301757812 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.13user 3.41system 0:21.31elapsed 82%CPU (0avgtext+0avgdata 142744maxresident)k 2096inputs+9832outputs (60major+258741minor)pagefaults 0swaps