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 : 692867 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 : 5527>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/692867/ 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.660733699798584 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 Thu Jul 17 16:32: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/1752762749_692867_1372462274_428cc35e0144ba3a1b62a0cb19c1e6db.jpg resize: (1080, 1632) 1372462274 -4.734999299344839 treat image : temp/1752762749_692867_1372462259_40d28dd0ed678170badff141be8b1ca0.jpg resize: (1080, 1632) 1372462259 -4.52292575633487 treat image : temp/1752762749_692867_1372462242_dd59dcd87e727e1470317624fe71ae0a.jpg resize: (1080, 1632) 1372462242 -4.520219225509454 treat image : temp/1752762749_692867_1372462229_e8dd6393757b59728b89ab91134e1acb.jpg resize: (1080, 1632) 1372462229 -4.4986022040471445 treat image : temp/1752762749_692867_1372462214_5ba2512c34d3d72e3aa241d63b583a72.jpg resize: (1080, 1632) 1372462214 -4.503877870209867 treat image : temp/1752762749_692867_1372462189_bc1d4a818561df3c72158ed4c9dac36a.jpg resize: (1080, 1632) 1372462189 -4.519002955389088 treat image : temp/1752762749_692867_1372461956_3ebcbad594cec09a68f9bd016a46dc3d.jpg resize: (1080, 1632) 1372461956 -4.969075340743486 treat image : temp/1752762749_692867_1372461926_eb113642ed2ac7897d73b24bb26fd085.jpg resize: (1080, 1632) 1372461926 -4.982684785906489 treat image : temp/1752762749_692867_1372461902_5f241616a0979043ec1a0a89063a1d8e.jpg resize: (1080, 1632) 1372461902 -4.981324737210304 treat image : temp/1752762749_692867_1372461880_e0bf626d8026ea73c68886204382ddf9.jpg resize: (1080, 1632) 1372461880 -4.876566740334027 treat image : temp/1752762749_692867_1372461853_002c12570bb7fc9c4d9bd56b29b647a7.jpg resize: (1080, 1632) 1372461853 -4.880161225528665 treat image : temp/1752762749_692867_1372461826_edfce7890bc3842c78e37ccdd0af8350.jpg resize: (1080, 1632) 1372461826 -4.861349386016701 treat image : temp/1752762749_692867_1372338439_c0783a134fe0475d54473771625a1c76.jpg resize: (1080, 1632) 1372338439 -4.790279261885007 treat image : temp/1752762749_692867_1372338437_955f081cc9c803bdbdd69954799954a6.jpg resize: (1080, 1632) 1372338437 -4.788375423292259 treat image : temp/1752762749_692867_1372338435_04db2e6ae85c3036a6aa0008a65b78c3.jpg resize: (1080, 1632) 1372338435 -4.78238598804978 treat image : temp/1752762749_692867_1372338434_70c125305dc1f4c8cf06b98a969eb466.jpg resize: (1080, 1632) 1372338434 -4.785265104339985 treat image : temp/1752762749_692867_1372338433_c49f31ad1df6905c935dc0c5cb144993.jpg resize: (1080, 1632) 1372338433 -4.788265681214512 treat image : temp/1752762749_692867_1372338414_63ef9b0e7a6c4bee7d0529d9e5360f20.jpg resize: (1080, 1632) 1372338414 -4.784672011863734 treat image : temp/1752762749_692867_1372338411_4d22b7f4d306f69b482310b09184b5d9.jpg resize: (1080, 1632) 1372338411 -4.780864940195203 treat image : temp/1752762749_692867_1372338408_72c8d71145d097a7eb23dbe56dc84300.jpg resize: (1080, 1632) 1372338408 -4.781039975495225 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.03133273124694824 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.03309130668640137 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03732943534851074 save missing photos in datou_result : time spend for datou_step_exec : 16.60932970046997 time spend to save output : 0.11639523506164551 total time spend for step 1 : 16.725724935531616 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.19user 5.11system 0:23.80elapsed 81%CPU (0avgtext+0avgdata 139332maxresident)k 56inputs+9080outputs (0major+261518minor)pagefaults 0swaps