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 : 1314102 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/1314102/ 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.1739842891693115 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 20:27: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/1752776847_1314102_1372334497_1b6e5497c3f419ed2454f34ee0e728a5.jpg resize: (1080, 1632) 1372334497 -5.445269473842029 treat image : temp/1752776847_1314102_1372334495_4423001a481d81c8cf3580529eaf5c25.jpg resize: (1080, 1632) 1372334495 -5.450554343584364 treat image : temp/1752776847_1314102_1372334494_4a05b442a55bb529ff0de04ab23ab52c.jpg resize: (1080, 1632) 1372334494 -5.444497510106675 treat image : temp/1752776847_1314102_1372334492_d708a9e2e564ac2e486c362f50d13105.jpg resize: (1080, 1632) 1372334492 -5.45560570082061 treat image : temp/1752776847_1314102_1372334471_5843708cfd0a321925b1bdce687e4088.jpg resize: (1080, 1632) 1372334471 -5.34493965180719 treat image : temp/1752776847_1314102_1372334469_4113ecf32e3955132fbabe00566d35c5.jpg resize: (1080, 1632) 1372334469 -5.434439506986556 treat image : temp/1752776847_1314102_1372334467_144934a50fa431d5542abbd850f42c28.jpg resize: (1080, 1632) 1372334467 -5.445612768272544 treat image : temp/1752776847_1314102_1372334464_3b43d7457da93f080fd3896e1a8de008.jpg resize: (1080, 1632) 1372334464 -5.447983531256266 treat image : temp/1752776847_1314102_1372334462_e2bb9d35516454bd7b7105c54c8c813b.jpg resize: (1080, 1632) 1372334462 -5.434799847965107 treat image : temp/1752776847_1314102_1372334461_709f4985c554304ad0b55c3e4f40ff65.jpg resize: (1080, 1632) 1372334461 -5.445795580063611 treat image : temp/1752776847_1314102_1372334437_b074949be381fa6e758888397416f8bd.jpg resize: (1080, 1632) 1372334437 -5.33776503084877 treat image : temp/1752776847_1314102_1372334435_df9e639e9b19b6978bbe3c406a53efac.jpg resize: (1080, 1632) 1372334435 -5.354896568251981 treat image : temp/1752776847_1314102_1372334434_1398b838cd5cc54cc2b400ebc425398e.jpg resize: (1080, 1632) 1372334434 -5.343392257264678 treat image : temp/1752776847_1314102_1372334433_cf4e54b06dca7d29ee81ee3f3f6cdb30.jpg resize: (1080, 1632) 1372334433 -5.353659893861711 treat image : temp/1752776847_1314102_1372334432_b7dfadd710a09e6f0446697e78410ad9.jpg resize: (1080, 1632) 1372334432 -5.348860079385344 treat image : temp/1752776847_1314102_1372334431_73c632a40172722b4edd4824f5433e59.jpg resize: (1080, 1632) 1372334431 -5.357172947281932 treat image : temp/1752776847_1314102_1372334403_720ecc1a1f92421027ee05dd0f3f4769.jpg resize: (1080, 1632) 1372334403 -5.350751099451965 treat image : temp/1752776847_1314102_1372334401_6a66e97ceafaa42441fe2956af1e26b7.jpg resize: (1080, 1632) 1372334401 -5.3375325882476625 treat image : temp/1752776847_1314102_1372334399_05d9b9164d523cc7053a4b01cea5e154.jpg resize: (1080, 1632) 1372334399 -5.344660869045354 treat image : temp/1752776847_1314102_1372334398_91ff273aa9952335ea248660a5a6aec4.jpg resize: (1080, 1632) 1372334398 -5.329230060983981 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.013501405715942383 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.013856172561645508 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01903367042541504 save missing photos in datou_result : time spend for datou_step_exec : 18.2999210357666 time spend to save output : 0.051377058029174805 total time spend for step 1 : 18.351298093795776 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.18user 6.65system 0:24.24elapsed 85%CPU (0avgtext+0avgdata 137804maxresident)k 8inputs+10576outputs (18major+264339minor)pagefaults 0swaps