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 : 2954925 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 : 1900>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/2954925/ 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.3262083530426025 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 Tue May 13 14:22: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/1747138949_2954925_1357841294_31c9b9edf01f7b64a91c2c6ae10ea6b4.jpg resize: (1080, 1632) 1357841294 -3.153834421340072 treat image : temp/1747138949_2954925_1357841250_348d83b5421f1ac47663609c8e003e31.jpg resize: (1080, 1632) 1357841250 -6.243233504640971 treat image : temp/1747138949_2954925_1357841227_fba9660364fcdbd538d79bf8ce261d93.jpg resize: (1080, 1632) 1357841227 -6.275187234047611 treat image : temp/1747138949_2954925_1357841220_663b087cccc576863fa7278c363577b6.jpg resize: (1080, 1632) 1357841220 -6.256927955296322 treat image : temp/1747138949_2954925_1357840894_09903a3db36ea08941c15192f063d295.jpg resize: (1080, 1632) 1357840894 -4.171636488392669 treat image : temp/1747138949_2954925_1357840841_6b824c7afdc9622911ed21f09b282461.jpg resize: (1080, 1632) 1357840841 -6.017210942970559 treat image : temp/1747138949_2954925_1357840775_f08d313406744ddf643712bc41c40d28.jpg resize: (1080, 1632) 1357840775 -5.93461714239463 treat image : temp/1747138949_2954925_1357840331_c553f90d42336ac6fe591754ec914a8b.jpg resize: (1080, 1632) 1357840331 -1.4181833560151467 treat image : temp/1747138949_2954925_1357840297_cc8ace310eecec06493cc7f00c715360.jpg resize: (1080, 1632) 1357840297 -3.057361963952131 treat image : temp/1747138949_2954925_1357840267_1f9318f17edffdbabae1e1eeba8b7889.jpg resize: (1080, 1632) 1357840267 -5.980638868763015 treat image : temp/1747138949_2954925_1357840207_343490bfa68593f3c1e94eaf44732551.jpg resize: (1080, 1632) 1357840207 -4.43326012309141 treat image : temp/1747138949_2954925_1357840149_7c554c2afadb1ddd7a590bbfb28b6a2d.jpg resize: (1080, 1632) 1357840149 -6.258073215545807 treat image : temp/1747138949_2954925_1357840102_967266486399d7bb4afe7ce830ee41fa.jpg resize: (1080, 1632) 1357840102 -5.988127688998007 treat image : temp/1747138949_2954925_1357839996_19bdfeb66c6e221f2e6ad7099c53e9c5.jpg resize: (1080, 1632) 1357839996 -5.8687392742484965 treat image : temp/1747138949_2954925_1357839993_7aafb99b1e8f3e8a7a310e2784b2e36f.jpg resize: (1080, 1632) 1357839993 -5.846571143539816 treat image : temp/1747138949_2954925_1357839991_91c2e080e9571b97127e9241a3f36853.jpg resize: (1080, 1632) 1357839991 -5.7688071378890236 treat image : temp/1747138949_2954925_1357839989_51ac01c30a585a89667e3037efe2fab8.jpg resize: (1080, 1632) 1357839989 -4.019752016778736 treat image : temp/1747138949_2954925_1357839954_42b51f439da17aac20da021a1b832642.jpg resize: (1080, 1632) 1357839954 -2.73837891358024 treat image : temp/1747138949_2954925_1357839950_a79ed3ff69cf14a1dd2ab4f5609bc435.jpg resize: (1080, 1632) 1357839950 -5.952238636532625 treat image : temp/1747138949_2954925_1357839946_ebdabf825f1324fc6ce12997f095b98a.jpg resize: (1080, 1632) 1357839946 -5.344052902119648 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.01765918731689453 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.012629985809326172 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01501154899597168 save missing photos in datou_result : time spend for datou_step_exec : 17.675148725509644 time spend to save output : 0.08295536041259766 total time spend for step 1 : 17.75810408592224 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.06user 5.52system 0:24.13elapsed 85%CPU (0avgtext+0avgdata 137788maxresident)k 152inputs+10888outputs (0major+253064minor)pagefaults 0swaps