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 : 592080 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 : 2652>100 please execute split_portfolio.py -i 21605229 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681618'] with mtr_portfolio_ids : ['21605229'] and first list_photo_ids : [] new path : /proc/592080/ 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 : 2.1716387271881104 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 Sat Mar 22 10:37:31 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/1742636248_592080_1346382154_640e946c62f583def6067f2e6c3aab78.jpg resize: (1080, 1632) 1346382154 -6.738387136774139 treat image : temp/1742636248_592080_1346382153_25b5304e17e4bf130dbfc20f0dd52f90.jpg resize: (1080, 1632) 1346382153 -5.824837588982786 treat image : temp/1742636248_592080_1346382151_07e7ed54798c855ef9370e3ab46b53dc.jpg resize: (1080, 1632) 1346382151 -6.56888469712356 treat image : temp/1742636248_592080_1346382149_253d9b36d0c4c99e7becc4cf4be5fcac.jpg resize: (1080, 1632) 1346382149 -6.55644993189751 treat image : temp/1742636248_592080_1346382147_1428ad4232701636e19756d6a7b8a487.jpg resize: (1080, 1632) 1346382147 -5.9340477495735335 treat image : temp/1742636248_592080_1346382144_e66ef43bc1e19be8a8b3da8ea54e5484.jpg resize: (1080, 1632) 1346382144 -6.1706957528103175 treat image : temp/1742636248_592080_1346382080_c0d31288eb077c5bfba047e13b876801.jpg resize: (1080, 1632) 1346382080 -5.8261739362863985 treat image : temp/1742636248_592080_1346382056_41958477ac9961ffe76bc448e7d45595.jpg resize: (1080, 1632) 1346382056 -6.3068847183371215 treat image : temp/1742636248_592080_1346382035_6f914704ecc5caf008d28db120a246c8.jpg resize: (1080, 1632) 1346382035 -1.7840809554546702 treat image : temp/1742636248_592080_1346382001_a3d1d72f7d91a70fc35910f369202b32.jpg resize: (1080, 1632) 1346382001 -2.437643247896574 treat image : temp/1742636248_592080_1346381972_2f018a244e0fd4572d0ac1f21acce713.jpg resize: (1080, 1632) 1346381972 -4.643831445450033 treat image : temp/1742636248_592080_1346381925_ef61071a95737bf6949c37fb4e1d45b3.jpg resize: (1080, 1632) 1346381925 -4.150040950513879 treat image : temp/1742636248_592080_1346381591_89279dddcaab47b8d5eb073124948c6f.jpg resize: (1080, 1632) 1346381591 -5.7360444780261775 treat image : temp/1742636248_592080_1346381589_7f8724ed341d59fe120dd52cab7e3fe9.jpg resize: (1080, 1632) 1346381589 -5.7360444780261775 treat image : temp/1742636248_592080_1346381587_340882dff86048522d8e8761fe700ef4.jpg resize: (1080, 1632) 1346381587 -6.103884581399811 treat image : temp/1742636248_592080_1346381585_9e990e6f0e72d39a5325826d1c9b8423.jpg resize: (1080, 1632) 1346381585 -6.103884581399811 treat image : temp/1742636248_592080_1346381583_fcc4d33449ce86f7bbea8c861b62b937.jpg resize: (1080, 1632) 1346381583 -6.316267232351337 treat image : temp/1742636248_592080_1346381582_b5c21a993a206e01cc96e12452a04f67.jpg resize: (1080, 1632) 1346381582 -6.316267232351337 treat image : temp/1742636248_592080_1346381580_de633c1cad616c0846155d0ee87a2c61.jpg resize: (1080, 1632) 1346381580 -5.810780685772131 treat image : temp/1742636248_592080_1346381579_6ac8f2fe67a2d5a732420df7c7b8e644.jpg resize: (1080, 1632) 1346381579 -5.810780685772131 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.06800293922424316 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.013821601867675781 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014646291732788086 save missing photos in datou_result : time spend for datou_step_exec : 14.663508176803589 time spend to save output : 0.10176563262939453 total time spend for step 1 : 14.765273809432983 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.26user 3.04system 0:20.78elapsed 83%CPU (0avgtext+0avgdata 141036maxresident)k 32inputs+11728outputs (3major+205933minor)pagefaults 0swaps