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 : 2327351 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 : 288>100 please execute split_portfolio.py -i 22024890 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2720883'] with mtr_portfolio_ids : ['22024890'] and first list_photo_ids : [] new path : /proc/2327351/ 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.7408478260040283 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 Apr 15 09:57: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/1744703847_2327351_1349828161_7943ca4780675c5429648e735f570da4.jpg resize: (1080, 1632) 1349828161 -2.9444722192888926 treat image : temp/1744703847_2327351_1349828127_0f6450f16ae0a7e0f70ff69906c90d95.jpg resize: (1080, 1632) 1349828127 -4.288805560355835 treat image : temp/1744703847_2327351_1349828100_5cb811ccfcb7bdef2884b0bfa2752a71.jpg resize: (1080, 1632) 1349828100 -6.1227279043340035 treat image : temp/1744703847_2327351_1349828069_d82963367b6d91e89d732f02313426e8.jpg resize: (1080, 1632) 1349828069 -6.312743404025204 treat image : temp/1744703847_2327351_1349828036_e3bcbb15fa01371d3bd7fd480e4a2231.jpg resize: (1080, 1632) 1349828036 -6.002736768845966 treat image : temp/1744703847_2327351_1349828006_1ef8d12301750d403780e65eea2c7de1.jpg resize: (1080, 1632) 1349828006 -5.895827924883436 treat image : temp/1744703847_2327351_1349827220_a86deb1fba17703bd4af3ce86e46109f.jpg resize: (1080, 1632) 1349827220 -3.5114878895311 treat image : temp/1744703847_2327351_1349827204_954799ce1d263d89d434c50539918a84.jpg resize: (1080, 1632) 1349827204 -4.247804457926902 treat image : temp/1744703847_2327351_1349827169_781ad353f366c0dbfa1a53b73ccebdc1.jpg resize: (1080, 1632) 1349827169 -5.934332845608141 treat image : temp/1744703847_2327351_1349827133_3656831f9557ffb10bfcf5d4346a6606.jpg resize: (1080, 1632) 1349827133 -4.563488059426754 treat image : temp/1744703847_2327351_1349827017_7e4027850c8a13e7cf96c780d143c9b3.jpg resize: (1080, 1632) 1349827017 -5.7561421847314564 treat image : temp/1744703847_2327351_1349826981_f8db6e225fa26151f47b081640c886b7.jpg resize: (1080, 1632) 1349826981 -5.276031484594146 treat image : temp/1744703847_2327351_1349826953_23dc640f1f4bc8361d608f8657f77b15.jpg resize: (1080, 1632) 1349826953 -5.54919594812493 treat image : temp/1744703847_2327351_1349826839_345d8ce94d392d888af6db35e911fc54.jpg resize: (1080, 1632) 1349826839 -4.299701994392495 treat image : temp/1744703847_2327351_1349826816_5943d1873315d6538669c63b73f4a78a.jpg resize: (1080, 1632) 1349826816 -5.81799195271762 treat image : temp/1744703847_2327351_1349826811_d90147a96453c18ffad84927dd65a297.jpg resize: (1080, 1632) 1349826811 -3.7836973977753634 treat image : temp/1744703847_2327351_1349824394_02a244e6d2de4ad0c81e7b147380adf4.jpg resize: (1080, 1632) 1349824394 -3.220100484288345 treat image : temp/1744703847_2327351_1349824380_0af2f6d17b4aa80590c979c78abfbbe8.jpg resize: (1080, 1632) 1349824380 -5.4700056854899355 treat image : temp/1744703847_2327351_1349824362_4be848ccf0fbfea2a3821696fa79115b.jpg resize: (1080, 1632) 1349824362 -5.660926130742773 treat image : temp/1744703847_2327351_1349824356_592535b77d734d05955b03797ead89f4.jpg resize: (1080, 1632) 1349824356 -5.935268352559577 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.014300107955932617 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.012174606323242188 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015781641006469727 save missing photos in datou_result : time spend for datou_step_exec : 17.91526699066162 time spend to save output : 0.04732346534729004 total time spend for step 1 : 17.96259045600891 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.57user 4.58system 0:23.65elapsed 85%CPU (0avgtext+0avgdata 140000maxresident)k 112inputs+10560outputs (9major+253916minor)pagefaults 0swaps