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 : 1720948 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 : 103>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/1720948/ 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.6919631958007812 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 01:07:32 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/1753225649_1720948_1373220734_6617b445464dce7e27ac7dd3245071ad.jpg resize: (1080, 1632) 1373220734 -5.55306518875804 treat image : temp/1753225649_1720948_1373220708_d804db1b11307c6abbd23aa42bb2d883.jpg resize: (1080, 1632) 1373220708 -5.558192042421435 treat image : temp/1753225649_1720948_1373220684_f1b5acf5faa84ad616a57715ccad5fa4.jpg resize: (1080, 1632) 1373220684 -5.569311122648624 treat image : temp/1753225649_1720948_1373220658_0a74043be7369ad237b046d57834b186.jpg resize: (1080, 1632) 1373220658 -5.558543473596419 treat image : temp/1753225649_1720948_1373220631_bcacb4c3544ec54f962122374896479d.jpg resize: (1080, 1632) 1373220631 -5.559090773929484 treat image : temp/1753225649_1720948_1373220599_897fcc05afd72bda1725f2b04cb20194.jpg resize: (1080, 1632) 1373220599 -5.565233095232338 treat image : temp/1753225649_1720948_1373220378_1ce25edba53078c54cc8db1ca7e181f4.jpg resize: (1080, 1632) 1373220378 -5.549344215788997 treat image : temp/1753225649_1720948_1373220351_b42d02f644db7a7d556042a8d96eb16f.jpg resize: (1080, 1632) 1373220351 -5.531435926890402 treat image : temp/1753225649_1720948_1373220325_30c33ffa1364cd9e41a0230acba0a4dc.jpg resize: (1080, 1632) 1373220325 -5.553762667752421 treat image : temp/1753225649_1720948_1373220298_1e2033c24d0398a5b52b0828d5c27009.jpg resize: (1080, 1632) 1373220298 -5.543413927099803 treat image : temp/1753225649_1720948_1373220270_a17150578524cfe0ebe171b1f0702483.jpg resize: (1080, 1632) 1373220270 -5.538396547684503 treat image : temp/1753225649_1720948_1373220252_4f5c678e3d8c2b6e796815d3f83590c0.jpg resize: (1080, 1632) 1373220252 -5.557168706226577 treat image : temp/1753225649_1720948_1373217449_2d04530c23e13c4c9709c14e233e725a.jpg resize: (1080, 1632) 1373217449 -2.6690799473307085 treat image : temp/1753225649_1720948_1373217446_8712761297c2d2a91d5837e398761298.jpg resize: (1080, 1632) 1373217446 -5.924293085704461 treat image : temp/1753225649_1720948_1373217441_d72a042847e87041f61b91254ce01913.jpg resize: (1080, 1632) 1373217441 -5.170711350967284 treat image : temp/1753225649_1720948_1373217439_6e837fff2119cc8e32f06856dd2f5390.jpg resize: (1080, 1632) 1373217439 -4.873563308554718 treat image : temp/1753225649_1720948_1373217436_3ef85032983704432f18cf0d404078e5.jpg resize: (1080, 1632) 1373217436 -2.344389311112837 treat image : temp/1753225649_1720948_1373217434_d8c2e4782b9976f5fd210923ab7757b2.jpg resize: (1080, 1632) 1373217434 -1.6365877989118496 treat image : temp/1753225649_1720948_1373217428_ce48f31f04aa06b18008d08ea157a8c0.jpg resize: (1080, 1632) 1373217428 -4.906056477614797 treat image : temp/1753225649_1720948_1373217422_deb1915679dce22f78100ea1767f34d4.jpg resize: (1080, 1632) 1373217422 -5.362823382038787 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.011887788772583008 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.01193380355834961 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014825582504272461 save missing photos in datou_result : time spend for datou_step_exec : 15.780747890472412 time spend to save output : 0.04359841346740723 total time spend for step 1 : 15.82434630393982 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.49user 3.97system 0:22.19elapsed 83%CPU (0avgtext+0avgdata 139464maxresident)k 144inputs+9824outputs (2major+259402minor)pagefaults 0swaps