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 : 3412435 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 : 4169>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/3412435/ 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 ! BFBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371567464 complete_path : /home/admin/workarea/git/Velours/python/temp/1752235047_3412435_1371567464_d1dd2800b78b1a07cf6ac4962d34e230.jpg FBFBFBHTTP Error 404: Not Found can't download the photo : 1371567461 complete_path : /home/admin/workarea/git/Velours/python/temp/1752235047_3412435_1371567461_5ca03b2aaea4c09b6fd9474e3d6ec5e0.jpg FBFBHTTP Error 404: Not Found can't download the photo : 1371567440 complete_path : /home/admin/workarea/git/Velours/python/temp/1752235047_3412435_1371567440_74822536cfd42e86a4746439706b06c8.jpg FBFBFBFBFBFBFBFBFBFwe have missing 3 photos in the step downloads : photo missing : [1371567464, 1371567461, 1371567440] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371567464 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371567461 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371567440 length of list_filenames : 17 ; length of list_pids : 17 ; length of list_args : 17 time to download the photos : 3.282790422439575 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 Jul 11 13:57: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/1752235047_3412435_1371567475_0310bcff68e6c0ac276ed9811c2adf50.jpg resize: (1080, 1632) 1371567475 -4.9722164067668935 treat image : temp/1752235047_3412435_1371567473_de6ed25159c2c9afb204bd94a7d7ff03.jpg resize: (1080, 1632) 1371567473 -5.069451929729477 treat image : temp/1752235047_3412435_1371567471_317b0f9f9a7320eb47ff4e600a495cd2.jpg resize: (1080, 1632) 1371567471 -5.035437592120226 treat image : temp/1752235047_3412435_1371567468_591a817cef37010015752ac6e90b4b80.jpg resize: (1080, 1632) 1371567468 -4.939319775030875 treat image : temp/1752235047_3412435_1371567465_1954598350758d0e6a976fdcfc135b42.jpg resize: (1080, 1632) 1371567465 -5.437065638627447 treat image : temp/1752235047_3412435_1371567463_23b3bf21262baabeb82f33ebedae1c01.jpg resize: (1080, 1632) 1371567463 -5.40461550450794 treat image : temp/1752235047_3412435_1371567462_7a23a2837f2eecc93de68ac8dccfad7c.jpg resize: (1080, 1632) 1371567462 -5.08232247198979 treat image : temp/1752235047_3412435_1371567441_f88aae96bd1129e9fc44a28213de6b6b.jpg resize: (1080, 1632) 1371567441 -4.900097497057183 treat image : temp/1752235047_3412435_1371567439_446d4528f3adb25133930d5703f43383.jpg resize: (1080, 1632) 1371567439 -5.4185047090563785 treat image : temp/1752235047_3412435_1371567438_9761d4a57a4077d70828eb8934fa9408.jpg resize: (1080, 1632) 1371567438 -4.986706273991248 treat image : temp/1752235047_3412435_1371567434_870ac308a9c3bc7b9602ce4c80a62b63.jpg resize: (1080, 1632) 1371567434 -4.9946348521243245 treat image : temp/1752235047_3412435_1371567427_0ac609b77fa9442a7fa4f42723e3a267.jpg resize: (1080, 1632) 1371567427 -5.419255651469578 treat image : temp/1752235047_3412435_1371567424_957671f3720123ca54c0d8d51a344df0.jpg resize: (1080, 1632) 1371567424 -4.940355767805165 treat image : temp/1752235047_3412435_1371567420_e1e79f539129d72a3584e5fbd3e402bb.jpg resize: (1080, 1632) 1371567420 -5.4467223834668665 treat image : temp/1752235047_3412435_1371567418_ccdfc452bbdebc9b96662323c4fd2fd6.jpg resize: (1080, 1632) 1371567418 -4.9722164067668935 treat image : temp/1752235047_3412435_1371567400_0d3b0aa2149a1e0ca0aecc479ecb5ca5.jpg resize: (1080, 1632) 1371567400 -5.015116431111518 treat image : temp/1752235047_3412435_1371567399_15c1727db10695fadf7f83f24e29fc71.jpg resize: (1080, 1632) 1371567399 -5.032817427770615 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 : 17 time used for this insertion : 0.01372981071472168 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 17 time used for this insertion : 0.012047767639160156 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.014774799346923828 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.010846376419067383 time spend for datou_step_exec : 15.639217853546143 time spend to save output : 0.05596590042114258 total time spend for step 1 : 15.695183753967285 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 12.08user 6.25system 0:21.14elapsed 86%CPU (0avgtext+0avgdata 140180maxresident)k 432inputs+8616outputs (22major+217870minor)pagefaults 0swaps