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 : 3271515 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 : 7932>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/3271515/ 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.43468976020813 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 Sat Jul 5 06:22: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/1751689349_3271515_1370742903_1821ada24c98467894e3678bdc6fbcaa.jpg resize: (1080, 1632) 1370742903 -5.03956786650918 treat image : temp/1751689349_3271515_1370742900_0ea7d888fca4a9c2e76b07980c6f9479.jpg resize: (1080, 1632) 1370742900 -5.05631720475446 treat image : temp/1751689349_3271515_1370742896_40be89ca8bc4b30c251d2ddd463f1878.jpg resize: (1080, 1632) 1370742896 -5.127350391031077 treat image : temp/1751689349_3271515_1370742895_26dba3e020ce02163fad22bc40c06a02.jpg resize: (1080, 1632) 1370742895 -5.107276534022624 treat image : temp/1751689349_3271515_1370742894_b52b7abffb6419c5277111cec7694d4a.jpg resize: (1080, 1632) 1370742894 -4.685479306436644 treat image : temp/1751689349_3271515_1370742893_ea8afcd237772edffbcaa7c3600dea70.jpg resize: (1080, 1632) 1370742893 -5.208302799454851 treat image : temp/1751689349_3271515_1370742809_c4426debee2b8ef02c0dc56cc316d92e.jpg resize: (1080, 1632) 1370742809 -2.8141636163066384 treat image : temp/1751689349_3271515_1370742808_ba50ef110b134a03e88de3d202adfaec.jpg resize: (1080, 1632) 1370742808 -2.7769550208321716 treat image : temp/1751689349_3271515_1370742803_568f1d5db2f51aea2c50cfebf77117ef.jpg resize: (1080, 1632) 1370742803 -2.7463540249415077 treat image : temp/1751689349_3271515_1370742797_053c543f24020fb2801fac40b3c0a200.jpg resize: (1080, 1632) 1370742797 -4.393168430061936 treat image : temp/1751689349_3271515_1370742785_27b5cbb5fcecabcdc8f8c49b4afe5b81.jpg resize: (1080, 1632) 1370742785 -4.404154406080967 treat image : temp/1751689349_3271515_1370742782_b11798b0a6bbc4bcd4b8b93b9a392240.jpg resize: (1080, 1632) 1370742782 -4.342974861132203 treat image : temp/1751689349_3271515_1370742781_8e12fee10c4101c18194bbcc93e1b5d1.jpg resize: (1080, 1632) 1370742781 -4.309217706003779 treat image : temp/1751689349_3271515_1370742779_d16ca23bbd6bf29b32db15f9433def94.jpg resize: (1080, 1632) 1370742779 -5.453589442041685 treat image : temp/1751689349_3271515_1370742778_e16b79da971407118127c2b040484b9e.jpg resize: (1080, 1632) 1370742778 -5.430661189850333 treat image : temp/1751689349_3271515_1370742776_ef98667e687958e63dab0583fb3129d8.jpg resize: (1080, 1632) 1370742776 -5.421957677569548 treat image : temp/1751689349_3271515_1370725644_853dfa44f8b15458aa5255a60b729a6e.jpg resize: (1080, 1632) 1370725644 -4.699602221190192 treat image : temp/1751689349_3271515_1370725639_a9848fbfa9a662ae14d50e19b67f85cd.jpg resize: (1080, 1632) 1370725639 -4.702967532427916 treat image : temp/1751689349_3271515_1370725635_0fb3a81d4a71c819c8860a9c4af0191b.jpg resize: (1080, 1632) 1370725635 -4.707753847312852 treat image : temp/1751689349_3271515_1370725633_7be8ddd3dadb4ba71003440268a84198.jpg resize: (1080, 1632) 1370725633 -4.706443717822363 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.018224000930786133 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.022037267684936523 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03287649154663086 save missing photos in datou_result : time spend for datou_step_exec : 21.332658767700195 time spend to save output : 0.07775497436523438 total time spend for step 1 : 21.41041374206543 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.38user 9.68system 0:27.67elapsed 86%CPU (0avgtext+0avgdata 139192maxresident)k 15336inputs+8944outputs (116major+258646minor)pagefaults 0swaps