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 : 4097909 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 : 3183>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/4097909/ 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.2604691982269287 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 Mon May 12 22:27: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/1747081649_4097909_1357735898_70e3aa7e9a4aa069a9c60495705e74bb.jpg resize: (1080, 1632) 1357735898 -4.774911402577467 treat image : temp/1747081649_4097909_1357735893_7876b234b62e9b7694782a6c5a6fabee.jpg resize: (1080, 1632) 1357735893 -6.3509335475862025 treat image : temp/1747081649_4097909_1357735839_c07f7b5c9cf956ad0eb7bbba29203247.jpg resize: (1080, 1632) 1357735839 -0.8702658657663628 treat image : temp/1747081649_4097909_1357735835_ef52a93ccfbcfe6183a694eb6435a33d.jpg resize: (1080, 1632) 1357735835 -3.15232896562458 treat image : temp/1747081649_4097909_1357735770_51404503943fa53afbd99f98f716b091.jpg resize: (1080, 1632) 1357735770 -5.887511373396084 treat image : temp/1747081649_4097909_1357735761_a8568117397d349f05f6ce9b334093ba.jpg resize: (1080, 1632) 1357735761 -6.006277247061659 treat image : temp/1747081649_4097909_1357735676_8432fea3944cf859e4991de9ab4b0db6.jpg resize: (1080, 1632) 1357735676 -6.043166658178756 treat image : temp/1747081649_4097909_1357735586_18d2caad99c23c6fa9ddd34b94f835d5.jpg resize: (1080, 1632) 1357735586 -4.08462457823706 treat image : temp/1747081649_4097909_1357735412_2c2198065aded5e70b200c4516f06676.jpg resize: (1080, 1632) 1357735412 -5.75057185094771 treat image : temp/1747081649_4097909_1357735409_1e56cb32326026912772bdca9755e208.jpg resize: (1080, 1632) 1357735409 -3.4101986331513414 treat image : temp/1747081649_4097909_1357735352_17c7dfe060b3da6dd5f12873022ff232.jpg resize: (1080, 1632) 1357735352 -5.528628399904353 treat image : temp/1747081649_4097909_1357735349_6db2cdf2bf1b04572c31c163fd3b87a5.jpg resize: (1080, 1632) 1357735349 -5.165686894257782 treat image : temp/1747081649_4097909_1357735345_1cc179ecedbf1349f004f89ac2852b42.jpg resize: (1080, 1632) 1357735345 -4.11854945997968 treat image : temp/1747081649_4097909_1357735341_c01e513088e7c07715fe8a29ae81c9ad.jpg resize: (1080, 1632) 1357735341 -3.584121139449576 treat image : temp/1747081649_4097909_1357735071_93ab2490acebcaa3a8096dcff515334a.jpg resize: (1080, 1632) 1357735071 -5.146764308473899 treat image : temp/1747081649_4097909_1357735030_1b78a4dd92d02711d5deb221d5cfd3e7.jpg resize: (1080, 1632) 1357735030 -5.135814872609729 treat image : temp/1747081649_4097909_1357735005_253108ae358cc78751e881d3a3d41e6d.jpg resize: (1080, 1632) 1357735005 -5.810086658927565 treat image : temp/1747081649_4097909_1357734906_6c5947faa04e581aa8306ffc1da75b27.jpg resize: (1080, 1632) 1357734906 -1.8811321509214012 treat image : temp/1747081649_4097909_1357734903_3971d04d0d76938d655baace88749b0e.jpg resize: (1080, 1632) 1357734903 -2.9178545822240256 treat image : temp/1747081649_4097909_1357734899_b7289c031dc01bef7028e01124d6a069.jpg resize: (1080, 1632) 1357734899 -2.0209850090825956 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.013638496398925781 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.01358652114868164 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014858722686767578 save missing photos in datou_result : time spend for datou_step_exec : 17.516804218292236 time spend to save output : 0.04725313186645508 total time spend for step 1 : 17.56405735015869 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.88user 5.52system 0:23.73elapsed 85%CPU (0avgtext+0avgdata 139568maxresident)k 152inputs+9552outputs (23major+248233minor)pagefaults 0swaps