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 : 1458587 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 : 2737>100 please execute split_portfolio.py -i 26103981 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3565041'] with mtr_portfolio_ids : ['26103981'] and first list_photo_ids : [] new path : /proc/1458587/ 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.4614908695220947 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 Aug 21 23:37: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/1755812247_1458587_1378346958_c97bc470fc07b4cbf0ba8b882e846210.jpg resize: (1080, 1632) 1378346958 -5.8533851742567995 treat image : temp/1755812247_1458587_1378346955_aaa804cc25b7cd53dd706c9fd47bccbf.jpg resize: (1080, 1632) 1378346955 -6.372901356883712 treat image : temp/1755812247_1458587_1378346946_99ac7943ad1085b89963a8b44300c52a.jpg resize: (1080, 1632) 1378346946 -3.9296259700113145 treat image : temp/1755812247_1458587_1378346915_78a8dc32b42594a9bee8cc71b74954df.jpg resize: (1080, 1632) 1378346915 -6.317602362657973 treat image : temp/1755812247_1458587_1378346888_7669c692a99a5ef6c09cd6f0eacd5939.jpg resize: (1080, 1632) 1378346888 -6.274094461317547 treat image : temp/1755812247_1458587_1378346867_35fe5bea6bf829d5ac5ed33d686b54cd.jpg resize: (1080, 1632) 1378346867 -5.616172934850214 treat image : temp/1755812247_1458587_1378346859_5949c3501f7926e58900bdbcf49ca940.jpg resize: (1080, 1632) 1378346859 -3.48463735231723 treat image : temp/1755812247_1458587_1378346834_bbd1df65dc86117eb1411f51f0e4b23f.jpg resize: (1080, 1632) 1378346834 -5.482874462942549 treat image : temp/1755812247_1458587_1378346808_728325d69009fc60a9de1242db61ec1b.jpg resize: (1080, 1632) 1378346808 -5.061210371140035 treat image : temp/1755812247_1458587_1378346784_83a822bd7da52b3dbab18ac06025ab93.jpg resize: (1080, 1632) 1378346784 -5.6072514197919245 treat image : temp/1755812247_1458587_1378346759_476701a1053baf93802163a8bc6b30fe.jpg resize: (1080, 1632) 1378346759 -5.300580730316741 treat image : temp/1755812247_1458587_1378346729_23bc96e90886a19d4b854c8968f2254c.jpg resize: (1080, 1632) 1378346729 -6.4451600831304585 treat image : temp/1755812247_1458587_1378346686_169a2d93a400168f52113f76c8cbbbf4.jpg resize: (1080, 1632) 1378346686 -6.264756845430391 treat image : temp/1755812247_1458587_1378346683_cdae6409d25b40130d923798e669191b.jpg resize: (1080, 1632) 1378346683 -6.222194696739424 treat image : temp/1755812247_1458587_1378346679_b2f2128f7faf5df9f7748e21b55ea4e3.jpg resize: (1080, 1632) 1378346679 -4.508510940551939 treat image : temp/1755812247_1458587_1378346673_4b474e2551cc1a41b5d1be18924443b4.jpg resize: (1080, 1632) 1378346673 -5.545858141912764 treat image : temp/1755812247_1458587_1378346668_5f7e46c44f97f557861231a66048e7a0.jpg resize: (1080, 1632) 1378346668 -4.066008435365521 treat image : temp/1755812247_1458587_1378346665_2e2567cc04b2637a90e2189851518097.jpg resize: (1080, 1632) 1378346665 -1.1382186892948425 treat image : temp/1755812247_1458587_1378346055_78063e10e847875ebe5c3e6f9d55e1cc.jpg resize: (1080, 1632) 1378346055 -5.653870994051135 treat image : temp/1755812247_1458587_1378346051_d769f2f20fb9d9ee2e731c354e6e4919.jpg resize: (1080, 1632) 1378346051 -5.219011804399595 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.014512777328491211 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.01493525505065918 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015839576721191406 save missing photos in datou_result : time spend for datou_step_exec : 16.1899893283844 time spend to save output : 0.062183380126953125 total time spend for step 1 : 16.252172708511353 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.33user 3.34system 0:22.06elapsed 84%CPU (0avgtext+0avgdata 139568maxresident)k 80inputs+10912outputs (11major+260270minor)pagefaults 0swaps