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 : 538638 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 : 7622>100 please execute split_portfolio.py -i 25479781 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3392459'] with mtr_portfolio_ids : ['25479781'] and first list_photo_ids : [] new path : /proc/538638/ 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.29034423828125 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 Fri Aug 1 08:02: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/1754028148_538638_1374721897_eabc8ad34dfc83aec9545d807e9f4512.jpg resize: (1080, 1632) 1374721897 -5.904114852434707 treat image : temp/1754028148_538638_1374721841_a9bcda8307c6e5121b1104bfcbde1338.jpg resize: (1080, 1632) 1374721841 -5.778446349275597 treat image : temp/1754028148_538638_1374721796_2cc6a439c8a24ac95e61b96eb7e1f3b5.jpg resize: (1080, 1632) 1374721796 -5.056517297987231 treat image : temp/1754028148_538638_1374721765_c1220ec1622961c7c77a7fd7ed229886.jpg resize: (1080, 1632) 1374721765 -2.0326411713757544 treat image : temp/1754028148_538638_1374721733_b8e28020ce35bd894088441f4d46704c.jpg resize: (1080, 1632) 1374721733 -3.25435515535891 treat image : temp/1754028148_538638_1374721707_0611ea6c59b19ba9a0343894d1cd6bab.jpg resize: (1080, 1632) 1374721707 -5.192958088604754 treat image : temp/1754028148_538638_1374721535_777bf5f56463f286216d0632334e28cd.jpg resize: (1080, 1632) 1374721535 -5.524195579129804 treat image : temp/1754028148_538638_1374721489_53aba119b6fc07a474756cfcbbdda538.jpg resize: (1080, 1632) 1374721489 -5.092062604894162 treat image : temp/1754028148_538638_1374721443_3c3ec5ee1e87a5144165659fad27dce3.jpg resize: (1080, 1632) 1374721443 -4.753085764034234 treat image : temp/1754028148_538638_1374721416_385a7689a5b673aac6ceccc3f89ff953.jpg resize: (1080, 1632) 1374721416 -5.626245888542237 treat image : temp/1754028148_538638_1374721389_1dadb6a8e8a90208361ae6e7ed3cfa2d.jpg resize: (1080, 1632) 1374721389 -3.1778229578228574 treat image : temp/1754028148_538638_1374721361_38ce407bc561998731823aef4469adf3.jpg resize: (1080, 1632) 1374721361 -4.230316791521482 treat image : temp/1754028148_538638_1374720543_d02981afd56ce2e5b4090e0d1497f3f7.jpg resize: (1080, 1632) 1374720543 -3.960286561045543 treat image : temp/1754028148_538638_1374720542_49a3c6ae648f397adbe735fffb31b2e0.jpg resize: (1080, 1632) 1374720542 -3.9574213667047395 treat image : temp/1754028148_538638_1374720539_ab7f415be992af85794bd1d4d4ce68a0.jpg resize: (1080, 1632) 1374720539 -5.019671364305866 treat image : temp/1754028148_538638_1374720537_cd4ff96a77e6602aabcba44201f994d8.jpg resize: (1080, 1632) 1374720537 -2.087349884853098 treat image : temp/1754028148_538638_1374720535_9205b5ec4bc8686d1ede93672f525883.jpg resize: (1080, 1632) 1374720535 -5.979705856460088 treat image : temp/1754028148_538638_1374720533_bd26744d038e39264b495e3f2a85d7ff.jpg resize: (1080, 1632) 1374720533 -5.66957707863811 treat image : temp/1754028148_538638_1374720531_9a7718122e325aa760cc3642bae05394.jpg resize: (1080, 1632) 1374720531 -3.813327881237807 treat image : temp/1754028148_538638_1374720528_5353a15d436193fcfc4df7e99fc66933.jpg resize: (1080, 1632) 1374720528 -5.280467263584252 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.015810251235961914 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.05976748466491699 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.08915591239929199 save missing photos in datou_result : time spend for datou_step_exec : 15.958537101745605 time spend to save output : 0.16980814933776855 total time spend for step 1 : 16.128345251083374 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.28user 4.44system 0:22.16elapsed 84%CPU (0avgtext+0avgdata 140692maxresident)k 0inputs+9928outputs (5major+257685minor)pagefaults 0swaps