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 : 2981770 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 : 1887>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/2981770/ 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.2409818172454834 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 May 21 14:37: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/1747831048_2981770_1360039363_64697bdb1fddbca6a55f6fb97ff7037f.jpg resize: (1080, 1632) 1360039363 -5.088372081026628 treat image : temp/1747831048_2981770_1360039359_cff95bf2847b1ac3c997b6009807ff3a.jpg resize: (1080, 1632) 1360039359 -5.297488789639777 treat image : temp/1747831048_2981770_1360039357_0da65ba62e0aff9d6015a21fc5dcd136.jpg resize: (1080, 1632) 1360039357 -5.507775391477801 treat image : temp/1747831048_2981770_1360039354_1fb22ed14f92087039dba9f51e192902.jpg resize: (1080, 1632) 1360039354 -4.811128398868447 treat image : temp/1747831048_2981770_1360039344_7748c619a0ead2f41a4e679b9e157aa3.jpg resize: (1080, 1632) 1360039344 -5.248036186530252 treat image : temp/1747831048_2981770_1360039319_97448cd2793074badc7201b862b6dbb4.jpg resize: (1080, 1632) 1360039319 -6.427708214834452 treat image : temp/1747831048_2981770_1360039312_1f8e241f054dabc5740deb8d818bd2f3.jpg resize: (1080, 1632) 1360039312 -5.633506668938865 treat image : temp/1747831048_2981770_1360039307_069ecdcfeabe4b212992b82ac5a7fd9a.jpg resize: (1080, 1632) 1360039307 -4.2400794819741785 treat image : temp/1747831048_2981770_1360039266_a11aa66bc4998c5cf53b5ae03cd9d4e2.jpg resize: (1080, 1632) 1360039266 -1.1436924691721342 treat image : temp/1747831048_2981770_1360039226_d9f99bd38cb8806806225b82e94ad259.jpg resize: (1080, 1632) 1360039226 -2.388456122412024 treat image : temp/1747831048_2981770_1360039139_48bc7bcef6d9f0fc078bdf4325e654cf.jpg resize: (1080, 1632) 1360039139 -5.088372081026628 treat image : temp/1747831048_2981770_1360039134_12ea8b6d5091b93a54fccca8cb6c2639.jpg resize: (1080, 1632) 1360039134 -5.297488789639777 treat image : temp/1747831048_2981770_1360039114_dcb9fb131d3db02b0fa94a7af0c0f9e9.jpg resize: (1080, 1632) 1360039114 -5.507775391477801 treat image : temp/1747831048_2981770_1360039090_84c2129bb532b6de3c168bf2338ca446.jpg resize: (1080, 1632) 1360039090 -4.811128398868447 treat image : temp/1747831048_2981770_1360039050_403dee307445e2868135714a5a1dd93e.jpg resize: (1080, 1632) 1360039050 -5.248036186530252 treat image : temp/1747831048_2981770_1360038982_77c8851b54ae8940a8329eec0b2f04c9.jpg resize: (1080, 1632) 1360038982 -6.427708214834452 treat image : temp/1747831048_2981770_1360038895_00b8f221fcc7eff9ac97c065491912f5.jpg resize: (1080, 1632) 1360038895 -1.4016349369781016 treat image : temp/1747831048_2981770_1360038838_262dbf2666cc3eccd88f6854231e939b.jpg resize: (1080, 1632) 1360038838 -3.517581430337086 treat image : temp/1747831048_2981770_1360038771_9deaa25bf85f04d781378c3dd610d7da.jpg resize: (1080, 1632) 1360038771 -5.916871870626538 treat image : temp/1747831048_2981770_1360038709_43911bbabf3656f44e2ce04dff153e07.jpg resize: (1080, 1632) 1360038709 -5.863950809842694 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.01661086082458496 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.016033172607421875 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018119096755981445 save missing photos in datou_result : time spend for datou_step_exec : 17.528616905212402 time spend to save output : 0.05517697334289551 total time spend for step 1 : 17.583793878555298 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.61user 5.35system 0:23.62elapsed 84%CPU (0avgtext+0avgdata 140908maxresident)k 96inputs+9952outputs (16major+261617minor)pagefaults 0swaps