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 : 3626594 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 : 5165>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/3626594/ 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 ! BHTTP Error 404: Not Found can't download the photo : 1371592239 complete_path : /home/admin/workarea/git/Velours/python/temp/1752242246_3626594_1371592239_9be0acad6e7cb016d888feebd30a1b66.jpg FBFBHTTP Error 404: Not Found can't download the photo : 1371592226 complete_path : /home/admin/workarea/git/Velours/python/temp/1752242246_3626594_1371592226_8c88a0fd70caa5cd1b3c7e6dec6fe497.jpg FBHTTP Error 404: Not Found can't download the photo : 1371592223 complete_path : /home/admin/workarea/git/Velours/python/temp/1752242246_3626594_1371592223_24a815cd7f2cd2896592dae7156d10f9.jpg FBHTTP Error 404: Not Found can't download the photo : 1371592222 complete_path : /home/admin/workarea/git/Velours/python/temp/1752242246_3626594_1371592222_9fd367c6643abecea9c920b8950d6788.jpg FBHTTP Error 404: Not Found can't download the photo : 1371592219 complete_path : /home/admin/workarea/git/Velours/python/temp/1752242246_3626594_1371592219_35199c0bcd677d837190ac20ed91f154.jpg FBHTTP Error 404: Not Found can't download the photo : 1371592217 complete_path : /home/admin/workarea/git/Velours/python/temp/1752242246_3626594_1371592217_534e2655368c3801bcac6bd3730070af.jpg FBHTTP Error 404: Not Found can't download the photo : 1371592187 complete_path : /home/admin/workarea/git/Velours/python/temp/1752242246_3626594_1371592187_0f20c691f601eede5cefed4ffc3df715.jpg FBHTTP Error 404: Not Found can't download the photo : 1371592177 complete_path : /home/admin/workarea/git/Velours/python/temp/1752242246_3626594_1371592177_4ccd152253f4e4f0b92cf837639ce25e.jpg FBFBHTTP Error 404: Not Found can't download the photo : 1371592174 complete_path : /home/admin/workarea/git/Velours/python/temp/1752242246_3626594_1371592174_b2469ed82d8dc948fd0bf7025c85dc03.jpg FBHTTP Error 404: Not Found can't download the photo : 1371592155 complete_path : /home/admin/workarea/git/Velours/python/temp/1752242246_3626594_1371592155_40144440bc159571da677527773790a2.jpg FBHTTP Error 404: Not Found can't download the photo : 1371592135 complete_path : /home/admin/workarea/git/Velours/python/temp/1752242246_3626594_1371592135_86e4867d63405ee091eb2bf72b98b9e8.jpg FBFBFBHTTP Error 404: Not Found can't download the photo : 1371592099 complete_path : /home/admin/workarea/git/Velours/python/temp/1752242246_3626594_1371592099_d48f77db0ce1241071dd8fb2d5650595.jpg FBHTTP Error 404: Not Found can't download the photo : 1371592097 complete_path : /home/admin/workarea/git/Velours/python/temp/1752242246_3626594_1371592097_d8455a230196188d781a2405faf2667a.jpg FBFBHTTP Error 404: Not Found can't download the photo : 1371592071 complete_path : /home/admin/workarea/git/Velours/python/temp/1752242246_3626594_1371592071_bd4d26d18a306f409f74c71b5e640209.jpg FBFwe have missing 14 photos in the step downloads : photo missing : [1371592239, 1371592226, 1371592223, 1371592222, 1371592219, 1371592217, 1371592187, 1371592177, 1371592174, 1371592155, 1371592135, 1371592099, 1371592097, 1371592071] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371592239 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371592226 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371592223 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371592222 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371592219 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371592217 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371592187 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371592177 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371592174 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371592155 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371592135 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371592099 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371592097 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371592071 length of list_filenames : 6 ; length of list_pids : 6 ; length of list_args : 6 time to download the photos : 6.376393556594849 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 15:57:32 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/1752242246_3626594_1371592233_7870e7ffe1b2fcd32a84eea18e94c152.jpg resize: (1080, 1632) 1371592233 -5.2040568552258994 treat image : temp/1752242246_3626594_1371592176_f7af0b28c425b878af9650205577e3ad.jpg resize: (1080, 1632) 1371592176 -5.170773210278812 treat image : temp/1752242246_3626594_1371592103_0bde465706f0456a0afe1ae9aebfff8d.jpg resize: (1080, 1632) 1371592103 -5.161950903978807 treat image : temp/1752242246_3626594_1371592102_fbdeb89715c8a314638cb66c4f42ecf8.jpg resize: (1080, 1632) 1371592102 -5.76640618161843 treat image : temp/1752242246_3626594_1371592077_e4fc1be7d44c5dac231fe1fcdbfa2149.jpg resize: (1080, 1632) 1371592077 -5.184075738429944 treat image : temp/1752242246_3626594_1371592040_a8883a3666dba5680f49567c6f7a4e0c.jpg resize: (1080, 1632) 1371592040 -5.002150698822528 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 : 6 time used for this insertion : 0.011330127716064453 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 6 time used for this insertion : 0.011612653732299805 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.012305974960327148 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.013607263565063477 time spend for datou_step_exec : 4.547778367996216 time spend to save output : 0.053116798400878906 total time spend for step 1 : 4.600895166397095 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 5.36user 2.09system 0:12.30elapsed 60%CPU (0avgtext+0avgdata 138420maxresident)k 24inputs+3152outputs (2major+82456minor)pagefaults 0swaps