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 : 2057118 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 : 6877>100 please execute split_portfolio.py -i 24774035 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3262193'] with mtr_portfolio_ids : ['24774035'] and first list_photo_ids : [] new path : /proc/2057118/ 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 ! BFBFBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371522046 complete_path : /home/admin/workarea/git/Velours/python/temp/1752175948_2057118_1371522046_eb4d65ceb5817d937cdec14e4b8ff022.jpg FBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 1 photos in the step downloads : photo missing : [1371522046] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371522046 length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 2.624314069747925 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 Jul 10 21:32: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/1752175948_2057118_1371522183_98e6f11ae99d21b82decfe665f870723.jpg resize: (1080, 1632) 1371522183 -0.3819734761079441 treat image : temp/1752175948_2057118_1371522181_00c277c8f25e79f68c0c8e31b1c2bbcd.jpg resize: (1080, 1632) 1371522181 -3.8203042467147243 treat image : temp/1752175948_2057118_1371522173_5d993d01f06abca0f8a0304ed9f0eead.jpg resize: (1080, 1632) 1371522173 -4.581221059431706 treat image : temp/1752175948_2057118_1371522097_a08fe8e47af4d29f5079aeade4c73886.jpg resize: (1080, 1632) 1371522097 -0.8023963249986278 treat image : temp/1752175948_2057118_1371522096_bdfae9c6b3cc3f1d6b08a95a1affdcaa.jpg resize: (1080, 1632) 1371522096 -3.986953467767265 treat image : temp/1752175948_2057118_1371522079_ba55dfcbe85d01dd3dc6833b4e8bc57c.jpg resize: (1080, 1632) 1371522079 -4.184330166456575 treat image : temp/1752175948_2057118_1371521774_1669d74241ba726440be98cb9ee20afb.jpg resize: (1080, 1632) 1371521774 -3.0729532712243297 treat image : temp/1752175948_2057118_1371521773_b1feb9afecef39a445e48c084af8722a.jpg resize: (1080, 1632) 1371521773 -4.458881416150869 treat image : temp/1752175948_2057118_1371521757_b5d39c683c9d0f2fc49d4a1e0d245c6c.jpg resize: (1080, 1632) 1371521757 -3.9936462874796708 treat image : temp/1752175948_2057118_1371521701_21151e856466bef30f08ea5d88b49880.jpg resize: (1080, 1632) 1371521701 -5.3993110010467 treat image : temp/1752175948_2057118_1371521700_776fd6972078681f1a3c7e90e50ee6c0.jpg resize: (1080, 1632) 1371521700 -0.6887417708811574 treat image : temp/1752175948_2057118_1371521694_b4a4a24511b8b2f67e80f1eda3c3bfb5.jpg resize: (1080, 1632) 1371521694 -5.7750146179524595 treat image : temp/1752175948_2057118_1371521693_39773f04dbd48aadea3c6a6f09e3e32d.jpg resize: (1080, 1632) 1371521693 -2.355130442082447 treat image : temp/1752175948_2057118_1371521365_30465613800854eb840c841f5bc7bb2e.jpg resize: (1080, 1632) 1371521365 -3.5702730335917265 treat image : temp/1752175948_2057118_1371521360_587177c9ede05e0d1e58bc60d9bbb7be.jpg resize: (1080, 1632) 1371521360 -4.435825467815406 treat image : temp/1752175948_2057118_1371521355_81a5ca02d19abe667c670c65cdf81b8d.jpg resize: (1080, 1632) 1371521355 -2.204463291068293 treat image : temp/1752175948_2057118_1371521294_46beae5956756e3aa33dad14d836ed7d.jpg resize: (1080, 1632) 1371521294 -1.8501167519528956 treat image : temp/1752175948_2057118_1371521283_a0e36f5f24472617feb72b2ab6160a1e.jpg resize: (1080, 1632) 1371521283 -5.261140619553885 treat image : temp/1752175948_2057118_1371521278_9a13ae752d1b97b68381eaa0053025a4.jpg resize: (1080, 1632) 1371521278 -5.179224741279234 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 : 19 time used for this insertion : 0.013107538223266602 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 19 time used for this insertion : 0.013705968856811523 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.01384735107421875 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 time used for this insertion : 0.010961532592773438 time spend for datou_step_exec : 14.037664890289307 time spend to save output : 0.05671119689941406 total time spend for step 1 : 14.09437608718872 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.29user 3.09system 0:19.99elapsed 81%CPU (0avgtext+0avgdata 140348maxresident)k 0inputs+7688outputs (8major+247400minor)pagefaults 0swaps