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 : 4104236 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 : 3076>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/4104236/ 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.173243999481201 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 19:57: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/1747159048_4104236_1357908340_191b56172192e02a06e698f06db9a9b9.jpg resize: (1080, 1632) 1357908340 -5.769719210420164 treat image : temp/1747159048_4104236_1357908260_8bd1c9b0aa3cf80e2ba9ee42c60de5b4.jpg resize: (1080, 1632) 1357908260 -5.587721352677859 treat image : temp/1747159048_4104236_1357908159_73233a41e2e89acffcd6a0d8a6fd82cd.jpg resize: (1080, 1632) 1357908159 -5.667747251034215 treat image : temp/1747159048_4104236_1357908093_c01af4e18600729a1bc1051ceb988a83.jpg resize: (1080, 1632) 1357908093 -5.726378070746178 treat image : temp/1747159048_4104236_1357908041_dcd3427fd93bf9cf054e80bbbfa0cda4.jpg resize: (1080, 1632) 1357908041 -5.829635995969587 treat image : temp/1747159048_4104236_1357907635_d5bb41386039169c653fc1615b02df38.jpg resize: (1080, 1632) 1357907635 -4.580787659674348 treat image : temp/1747159048_4104236_1357907633_7dd4749fde5cb0efba41f9eb3d5f0fcc.jpg resize: (1080, 1632) 1357907633 -5.734152014511832 treat image : temp/1747159048_4104236_1357907629_01248663db557b4621f6db532089d1c7.jpg resize: (1080, 1632) 1357907629 -5.883053458174355 treat image : temp/1747159048_4104236_1357907626_47473fd4dcbad98bc66958be90f1a378.jpg resize: (1080, 1632) 1357907626 -5.7437618532108985 treat image : temp/1747159048_4104236_1357907588_b473db97cd078360eb7905e36e9dec79.jpg resize: (1080, 1632) 1357907588 -1.2195302517209505 treat image : temp/1747159048_4104236_1357907580_c32d5163b1b8e3fa5982326762f960e2.jpg resize: (1080, 1632) 1357907580 -1.8921240903727077 treat image : temp/1747159048_4104236_1357907555_9ee99fe8acd03af1d007eb41938c3071.jpg resize: (1080, 1632) 1357907555 -2.2415944361926345 treat image : temp/1747159048_4104236_1357907525_51cc21ff8e4cd294a14a06257b4a17be.jpg resize: (1080, 1632) 1357907525 -3.33817163627246 treat image : temp/1747159048_4104236_1357907496_dba238b6eef58aa1a54006fcd01cd809.jpg resize: (1080, 1632) 1357907496 -2.219574248512795 treat image : temp/1747159048_4104236_1357907325_19cd66e77ae4b2c1a5514a297ad62bcc.jpg resize: (1080, 1632) 1357907325 -5.8983824634564845 treat image : temp/1747159048_4104236_1357907297_b358e2878be26514433589a69ac295f9.jpg resize: (1080, 1632) 1357907297 -5.878001686295371 treat image : temp/1747159048_4104236_1357907255_c07d65efd0b21fa7fa53e7cb99e8d523.jpg resize: (1080, 1632) 1357907255 -4.783660657266321 treat image : temp/1747159048_4104236_1357906658_4c3691171cb0f8631bfe1efa0c7c8e69.jpg resize: (1080, 1632) 1357906658 -5.5400323686025255 treat image : temp/1747159048_4104236_1357906554_488891d348bb9cccbc853b0946629b57.jpg resize: (1080, 1632) 1357906554 -5.049030018873963 treat image : temp/1747159048_4104236_1357906451_6a7ec9de0fe5b354e55b326ada744591.jpg resize: (1080, 1632) 1357906451 -3.1092164376501423 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.013382911682128906 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.017768144607543945 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01494908332824707 save missing photos in datou_result : time spend for datou_step_exec : 15.80520248413086 time spend to save output : 0.05124044418334961 total time spend for step 1 : 15.856442928314209 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.18user 4.31system 0:21.72elapsed 85%CPU (0avgtext+0avgdata 140848maxresident)k 112inputs+9752outputs (17major+260145minor)pagefaults 0swaps