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 : 3570577 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 : 5505>100 please execute split_portfolio.py -i 25117783 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3312460'] with mtr_portfolio_ids : ['25117783'] and first list_photo_ids : [] new path : /proc/3570577/ 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 : 1373085040 complete_path : /home/admin/workarea/git/Velours/python/temp/1753135780_3570577_1373085040_d7728788c049f27cb540b719b73b9209.jpg FBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 1 photos in the step downloads : photo missing : [1373085040] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1373085040 length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 3.8391036987304688 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 Tue Jul 22 00:09:44 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/1753135780_3570577_1373084983_bc6c7ff3ba798e1abb73e4ade1879105.jpg resize: (1080, 1632) 1373084983 -2.846399331781088 treat image : temp/1753135780_3570577_1373084899_45387269dd87126574441d2b3b3318aa.jpg resize: (1080, 1632) 1373084899 -2.864656516125324 treat image : temp/1753135780_3570577_1373084896_99df21071ef58a343fd3db58b878ce97.jpg resize: (1080, 1632) 1373084896 -4.974100219635517 treat image : temp/1753135780_3570577_1373084876_f4004540e77ce0b9051b02815505d934.jpg resize: (1080, 1632) 1373084876 -5.297906158376005 treat image : temp/1753135780_3570577_1373084875_e5a9b61798d33e6aea15a536cd451711.jpg resize: (1080, 1632) 1373084875 -1.4696260032422597 treat image : temp/1753135780_3570577_1373084874_b444beb703d058396a2c75795947bd6b.jpg resize: (1080, 1632) 1373084874 -1.4696260032422597 treat image : temp/1753135780_3570577_1373084872_d1354113916c8b28deb27e8d11d56ec1.jpg resize: (1080, 1632) 1373084872 -5.822629675269918 treat image : temp/1753135780_3570577_1373084868_c60c5eadce91497ec2ad904b9e2da122.jpg resize: (1080, 1632) 1373084868 -6.127381087504741 treat image : temp/1753135780_3570577_1373084849_70e87d8766b71dcfccc5f6571b69e0a0.jpg resize: (1080, 1632) 1373084849 -3.205208560652753 treat image : temp/1753135780_3570577_1373084848_8c8cb5ed6bc6c95865ed994ae59a20cf.jpg resize: (1080, 1632) 1373084848 -3.9256418838500893 treat image : temp/1753135780_3570577_1373084840_82d12aca1e05e79fb89351ba52b76ecf.jpg resize: (1080, 1632) 1373084840 -5.353246410766542 treat image : temp/1753135780_3570577_1373084836_71306cd59c033c9cda02d2f6273760f7.jpg resize: (1080, 1632) 1373084836 -5.324655143023439 treat image : temp/1753135780_3570577_1373084831_ae7517109d0f5963a1f66474ffa97fcc.jpg resize: (1080, 1632) 1373084831 -2.1364403210231417 treat image : temp/1753135780_3570577_1373084827_105e19e8f5aec6fa94e1860f7d27c72a.jpg resize: (1080, 1632) 1373084827 -5.753610314603176 treat image : temp/1753135780_3570577_1373084823_aff6bb5911ef50b6dc7eaf7179f1a675.jpg resize: (1080, 1632) 1373084823 -3.6757637766878277 treat image : temp/1753135780_3570577_1373084819_7ebe399a06bf16fe4a5a393ec473fdad.jpg resize: (1080, 1632) 1373084819 -5.164506118361446 treat image : temp/1753135780_3570577_1373084816_cc5f3efb96bb5ec244772d4a2d2e868d.jpg resize: (1080, 1632) 1373084816 -2.3010947706243963 treat image : temp/1753135780_3570577_1373084805_36522187ffc19779bb69d4e7434c9cc9.jpg resize: (1080, 1632) 1373084805 -4.517398832206677 treat image : temp/1753135780_3570577_1373084797_b05abd096861ccc74aab9939ed0c3448.jpg resize: (1080, 1632) 1373084797 -2.858522524686547 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.012356281280517578 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.01310873031616211 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.01586747169494629 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.01093149185180664 time spend for datou_step_exec : 28.327327966690063 time spend to save output : 0.14049863815307617 total time spend for step 1 : 28.46782660484314 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 18.42user 6.24system 1:06.61elapsed 37%CPU (0avgtext+0avgdata 140012maxresident)k 11080inputs+8512outputs (33major+253453minor)pagefaults 0swaps