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 : 1029210 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 : 3271>100 please execute split_portfolio.py -i 25245749 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3331975'] with mtr_portfolio_ids : ['25245749'] and first list_photo_ids : [] new path : /proc/1029210/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.0734663009643555 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 24 10:17: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/1753345048_1029210_1373502528_69fc7dfd5506eb2001a87ee545f606b1.jpg resize: (1080, 1632) 1373502528 -2.4557940525264645 treat image : temp/1753345048_1029210_1373502525_00506dd8d13bbbcf38b10a906fa02d8c.jpg resize: (1080, 1632) 1373502525 -3.6197813295484313 treat image : temp/1753345048_1029210_1373502523_964f70168b6eabf9eccf07e36c443cdb.jpg resize: (1080, 1632) 1373502523 -3.222996343675902 treat image : temp/1753345048_1029210_1373502522_8bc58af2ae1a11ca3165051536f3bb18.jpg resize: (1080, 1632) 1373502522 -5.123046101857052 treat image : temp/1753345048_1029210_1373502519_5c9059530cd81a748850e7d8a29519e2.jpg resize: (1080, 1632) 1373502519 -1.7849111253143604 treat image : temp/1753345048_1029210_1373502516_99c3f1fa5082c981522023909f628531.jpg resize: (1080, 1632) 1373502516 -1.400453032943562 treat image : temp/1753345048_1029210_1373502504_938c9e05a9e9db62ebb2037918b79c79.jpg resize: (1080, 1632) 1373502504 -2.6782040689719184 treat image : temp/1753345048_1029210_1373502500_d1f640d88f5171aa0be3dd9ef4eb3680.jpg resize: (1080, 1632) 1373502500 -4.817809861835573 treat image : temp/1753345048_1029210_1373502497_07df7568b872cbc1b55d4c9054b1388e.jpg resize: (1080, 1632) 1373502497 -5.764273926548489 treat image : temp/1753345048_1029210_1373502495_93fd318bb054a02065e6809b6d024fd7.jpg resize: (1080, 1632) 1373502495 -3.7401955924961117 treat image : temp/1753345048_1029210_1373502492_cebd6d415fa9b45c7a25bd7198e6d2bd.jpg resize: (1080, 1632) 1373502492 -5.074309916903033 treat image : temp/1753345048_1029210_1373502489_977c8ff51e33a6f6a7689178d4a7adef.jpg resize: (1080, 1632) 1373502489 -5.407388633958078 treat image : temp/1753345048_1029210_1373502470_3cbd543301ea40d9aeaf36f05232daec.jpg resize: (1080, 1632) 1373502470 -5.497964976457111 treat image : temp/1753345048_1029210_1373502467_059a706060d7e054fc88c04cd3aa9714.jpg resize: (1080, 1632) 1373502467 -4.688706367185707 treat image : temp/1753345048_1029210_1373502465_6c0c0666362ccb7b31137aaa5ec72edc.jpg resize: (1080, 1632) 1373502465 -5.553687335684966 treat image : temp/1753345048_1029210_1373502463_dd2c260eea3746d2308e5bea8bafddbe.jpg resize: (1080, 1632) 1373502463 -1.4438369568136935 treat image : temp/1753345048_1029210_1373502462_19b82a5aa348077ca6935b2de1a0626e.jpg resize: (1080, 1632) 1373502462 -3.0864469158188177 treat image : temp/1753345048_1029210_1373502412_da088fbca358f137d2d856a472f24e94.jpg resize: (1080, 1632) 1373502412 -3.0596291849537556 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 : 18 time used for this insertion : 0.01176309585571289 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.012873649597167969 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.014010429382324219 save missing photos in datou_result : time spend for datou_step_exec : 17.67793321609497 time spend to save output : 0.043244361877441406 total time spend for step 1 : 17.721177577972412 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 13.21user 7.18system 0:23.66elapsed 86%CPU (0avgtext+0avgdata 137452maxresident)k 368inputs+7880outputs (11major+232595minor)pagefaults 0swaps