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 : 3425180 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/3425180/ 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.409174680709839 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 Fri Jul 18 10:27:32 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/1752827249_3425180_1372322152_0a0be4a1cc3d23ea96dab5015d2035ee.jpg resize: (1080, 1632) 1372322152 -5.8289188955508955 treat image : temp/1752827249_3425180_1372322125_050ad4caeddaed3fe2f296fa95b6c244.jpg resize: (1080, 1632) 1372322125 -2.022265682112814 treat image : temp/1752827249_3425180_1372322123_c133fbc53cdb02a48e4ca6db364f7441.jpg resize: (1080, 1632) 1372322123 -2.026555900200918 treat image : temp/1752827249_3425180_1372322122_fdb7474c35c7401175f791e2ef7b5ebe.jpg resize: (1080, 1632) 1372322122 -4.154024423104805 treat image : temp/1752827249_3425180_1372322120_5e8a9856f4e1de18b80610484d2421be.jpg resize: (1080, 1632) 1372322120 -4.147936215603666 treat image : temp/1752827249_3425180_1372322118_aff81f63c64450c7a978b59b42286a9a.jpg resize: (1080, 1632) 1372322118 -4.1376495924008125 treat image : temp/1752827249_3425180_1372322116_70c264be3ac8bbd8dd068c0971af8bf8.jpg resize: (1080, 1632) 1372322116 -3.7893260262791437 treat image : temp/1752827249_3425180_1372322093_658b372ae5e8efdb3a43141e786a0da5.jpg resize: (1080, 1632) 1372322093 -2.52366986123708 treat image : temp/1752827249_3425180_1372322092_d95ab7dffa7317603a441e1a34249250.jpg resize: (1080, 1632) 1372322092 -2.5522643753088263 treat image : temp/1752827249_3425180_1372322090_68153cc4a75887b8485f9ca8ee27cec0.jpg resize: (1080, 1632) 1372322090 -2.530143326608437 treat image : temp/1752827249_3425180_1372322089_2899e14a2cc759153fe60bd24b03d9ad.jpg resize: (1080, 1632) 1372322089 -2.5502523078213657 treat image : temp/1752827249_3425180_1372322088_51b8e939f07ef088ff77af076ba3e628.jpg resize: (1080, 1632) 1372322088 -2.575498346615814 treat image : temp/1752827249_3425180_1372322086_e3e45dd196b7467faafa0c7d541d02b9.jpg resize: (1080, 1632) 1372322086 -0.7020944023469821 treat image : temp/1752827249_3425180_1372322061_044a94f39508c82740e8072fd6fe1b06.jpg resize: (1080, 1632) 1372322061 -2.4183652758475884 treat image : temp/1752827249_3425180_1372322058_0b1cf615eb7b26a93a81648db8333f67.jpg resize: (1080, 1632) 1372322058 -2.4046106720507563 treat image : temp/1752827249_3425180_1372322055_6bad53f96571261ea750fabb76d09add.jpg resize: (1080, 1632) 1372322055 -2.3945630231793347 treat image : temp/1752827249_3425180_1372322054_d7461055d2d097fc49aaabc26fec3654.jpg resize: (1080, 1632) 1372322054 -2.41646339240542 treat image : temp/1752827249_3425180_1372322052_9775630b4c74e50826e967f16f346b30.jpg resize: (1080, 1632) 1372322052 -2.3843087095863975 treat image : temp/1752827249_3425180_1372322050_2ea8a3f201a199f495fe7fef96d7c193.jpg resize: (1080, 1632) 1372322050 -2.3932450028673213 treat image : temp/1752827249_3425180_1372322026_74a603b266d983761bb673b2ed1cf653.jpg resize: (1080, 1632) 1372322026 -5.434935276449842 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.017757654190063477 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.021727561950683594 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.029033184051513672 save missing photos in datou_result : time spend for datou_step_exec : 15.211019277572632 time spend to save output : 0.07364463806152344 total time spend for step 1 : 15.284663915634155 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.89user 3.83system 0:22.29elapsed 79%CPU (0avgtext+0avgdata 138484maxresident)k 3608inputs+7640outputs (43major+259500minor)pagefaults 0swaps