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 : 1163280 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 : 238>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/1163280/ 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 : 3.4330694675445557 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 Wed May 21 05:42: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/1747798949_1163280_1359961805_7254a74dfa95d11409b406c93d86d8cf.jpg resize: (1080, 1632) 1359961805 -1.2423611324186135 treat image : temp/1747798949_1163280_1359961803_49f6eb13588281f7a17508d46ce3cda0.jpg resize: (1080, 1632) 1359961803 -3.2088921250335085 treat image : temp/1747798949_1163280_1359961800_1e22a9bc12bff97363b9ee843a255593.jpg resize: (1080, 1632) 1359961800 -2.225125462604243 treat image : temp/1747798949_1163280_1359961798_7872f1d8cd6aada737b6432eb180014b.jpg resize: (1080, 1632) 1359961798 -2.6118717627033314 treat image : temp/1747798949_1163280_1359961794_6ed923a6d33d7830ba0dd53739c5062e.jpg resize: (1080, 1632) 1359961794 -6.056840430720299 treat image : temp/1747798949_1163280_1359961680_3210aadc2a6d0ca923da3a248961b698.jpg resize: (1080, 1632) 1359961680 -5.991211088403631 treat image : temp/1747798949_1163280_1359961652_93b69c4195be217b93fdf1547d0ed350.jpg resize: (1080, 1632) 1359961652 -4.605110919235231 treat image : temp/1747798949_1163280_1359961631_b1feb4e203aee46f876e82757ac97483.jpg resize: (1080, 1632) 1359961631 -5.633633161569611 treat image : temp/1747798949_1163280_1359961628_8235bf5e2c29de18cdd4070ad522ffe6.jpg resize: (1080, 1632) 1359961628 -4.897537466781873 treat image : temp/1747798949_1163280_1359961625_48c633572892e16331c43cbc36f593e1.jpg resize: (1080, 1632) 1359961625 -3.945864017747121 treat image : temp/1747798949_1163280_1359961622_3264bc2b4f4aefc4df87eed3f0d5c458.jpg resize: (1080, 1632) 1359961622 -2.857916432755151 treat image : temp/1747798949_1163280_1359961474_3457377883c3c7b4df270331b1e98c5f.jpg resize: (1080, 1632) 1359961474 -3.97445512432606 treat image : temp/1747798949_1163280_1359961442_c4ef5f253e21cd135fb16c2820e4963e.jpg resize: (1080, 1632) 1359961442 -5.948601726480071 treat image : temp/1747798949_1163280_1359961409_ec1feb0c811af8d9fb7b9a0a0225bffa.jpg resize: (1080, 1632) 1359961409 -4.034480657984564 treat image : temp/1747798949_1163280_1359961362_713cb4f0f132df634fb950277c1032ac.jpg resize: (1080, 1632) 1359961362 -3.017094726094631 treat image : temp/1747798949_1163280_1359961310_4fb273a68a589a42312a8b5d6eb2cec1.jpg resize: (1080, 1632) 1359961310 -4.737987069066842 treat image : temp/1747798949_1163280_1359961016_53a11c707ddb3f46853b0c16a6a050e2.jpg resize: (1080, 1632) 1359961016 -3.2408369662641716 treat image : temp/1747798949_1163280_1359960977_44b4a1f4df0b34b2a86b93a2fd388478.jpg resize: (1080, 1632) 1359960977 0.21038804699655117 treat image : temp/1747798949_1163280_1359960949_cfbb77031f2f940a72ede019cb4a29ad.jpg resize: (1080, 1632) 1359960949 -1.7623523512930772 treat image : temp/1747798949_1163280_1359960527_74a01f676abc2103a285ff03c20a485b.jpg resize: (1080, 1632) 1359960527 -5.968017557904053 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.013738870620727539 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.01682567596435547 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.023059368133544922 save missing photos in datou_result : time spend for datou_step_exec : 16.202780961990356 time spend to save output : 0.05887198448181152 total time spend for step 1 : 16.261652946472168 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.63user 3.80system 0:23.02elapsed 80%CPU (0avgtext+0avgdata 136464maxresident)k 120inputs+8976outputs (7major+257225minor)pagefaults 0swaps