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 : 246096 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 : 173>100 please execute split_portfolio.py -i 23101416 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2889281'] with mtr_portfolio_ids : ['23101416'] and first list_photo_ids : [] new path : /proc/246096/ 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.438528299331665 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 Mon May 19 05:52: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/1747626749_246096_1359277434_b36a6286e6f0dee68f1bbb05c16690b3.jpg resize: (1080, 1632) 1359277434 -5.6235762145941655 treat image : temp/1747626749_246096_1359277292_dc570ffb5e9cbea0760b42e1f1f4fd17.jpg resize: (1080, 1632) 1359277292 -4.924647197165716 treat image : temp/1747626749_246096_1359277290_2999b7350ae0099dfcc902792bc26c1a.jpg resize: (1080, 1632) 1359277290 -5.575120790538785 treat image : temp/1747626749_246096_1359277154_106da667a3deaaa67ac2c65efddbe56b.jpg resize: (1080, 1632) 1359277154 -6.161089157108068 treat image : temp/1747626749_246096_1359277152_f417823e31555a555262b315154e2b25.jpg resize: (1080, 1632) 1359277152 -3.0973264699282623 treat image : temp/1747626749_246096_1359277150_9b2db4c991c30bb9e45c53746e076bd1.jpg resize: (1080, 1632) 1359277150 -5.711179361039319 treat image : temp/1747626749_246096_1359277147_968459e38ffc38c3cf05ffecae3924ae.jpg resize: (1080, 1632) 1359277147 -5.466494935379483 treat image : temp/1747626749_246096_1359277144_167df5f40fbd47a87998e53b015d8624.jpg resize: (1080, 1632) 1359277144 -6.327606117059085 treat image : temp/1747626749_246096_1359276917_df5ca3b90f291a0fc19ae811c94e6a94.jpg resize: (1080, 1632) 1359276917 -5.916674469506348 treat image : temp/1747626749_246096_1359276915_a958cf9203cf46e123680f5d4512789d.jpg resize: (1080, 1632) 1359276915 -1.8240143513341192 treat image : temp/1747626749_246096_1359276882_0da5fc75fd1ce8607ca31e7ce27b5409.jpg resize: (1080, 1632) 1359276882 -3.971114360819254 treat image : temp/1747626749_246096_1359276881_35ebc1f10495f5f13a9630fe5e554863.jpg resize: (1080, 1632) 1359276881 -5.570426297850329 treat image : temp/1747626749_246096_1359276880_a1786a1d09c4d7806c79e10ec0a7dbd3.jpg resize: (1080, 1632) 1359276880 -5.7818127343564685 treat image : temp/1747626749_246096_1359276878_5d8957d81837f71a37f11014e3d52f19.jpg resize: (1080, 1632) 1359276878 -5.642893453900058 treat image : temp/1747626749_246096_1359276876_f0b899a2f7280fa343c7fcf1bac9ae1a.jpg resize: (1080, 1632) 1359276876 -3.9373948474166456 treat image : temp/1747626749_246096_1359276874_2d48c6c5bb35c42897a4a63b42582194.jpg resize: (1080, 1632) 1359276874 -5.788301919993196 treat image : temp/1747626749_246096_1359276406_24c5c5b1d836e8414cc44854f2f4aba1.jpg resize: (1080, 1632) 1359276406 -5.47643338852527 treat image : temp/1747626749_246096_1359276404_84cd4437b386a9d167543315ecb90cbe.jpg resize: (1080, 1632) 1359276404 -4.813921724540401 treat image : temp/1747626749_246096_1359276253_32f253903ecab38974abea6375dfa4ad.jpg resize: (1080, 1632) 1359276253 -5.943302945351076 treat image : temp/1747626749_246096_1359276247_d2a1ccd1eb15ee3f73ea70045ad1ed7e.jpg resize: (1080, 1632) 1359276247 -5.87694733283974 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.015201330184936523 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.1559441089630127 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.09596681594848633 save missing photos in datou_result : time spend for datou_step_exec : 16.059165954589844 time spend to save output : 0.27298712730407715 total time spend for step 1 : 16.33215308189392 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.40user 4.13system 0:21.86elapsed 84%CPU (0avgtext+0avgdata 140076maxresident)k 112inputs+10448outputs (7major+257450minor)pagefaults 0swaps