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 : 3740667 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 : 2455>100 please execute split_portfolio.py -i 21715706 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2691079'] with mtr_portfolio_ids : ['21715706'] and first list_photo_ids : [] new path : /proc/3740667/ 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.8355448246002197 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 Wed Mar 26 17:22: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/1743006147_3740667_1347545899_7643fdb86364c9763862a2b103caaf16.jpg resize: (1080, 1632) 1347545899 -1.9236593685391377 treat image : temp/1743006147_3740667_1347545894_192ce205de8d4189142614d021e49ace.jpg resize: (1080, 1632) 1347545894 -3.5269161588604474 treat image : temp/1743006147_3740667_1347545882_fa2554d621b3e7ff0b47e644a1fb0331.jpg resize: (1080, 1632) 1347545882 -4.948180366329673 treat image : temp/1743006147_3740667_1347545766_a96a7db9d39b5555bde4a8252f32cffb.jpg resize: (1080, 1632) 1347545766 -5.069095271968671 treat image : temp/1743006147_3740667_1347545692_712c228aa3a31835dcf023feba4b3c7d.jpg resize: (1080, 1632) 1347545692 -4.983018407844239 treat image : temp/1743006147_3740667_1347455695_9e504b49642f0abcf1bc1ae0d71b0aad.jpg resize: (1080, 1632) 1347455695 -3.1896683952603984 treat image : temp/1743006147_3740667_1347455690_656dd692073be9ec53ed06f16e5a297e.jpg resize: (1080, 1632) 1347455690 -1.0618862556711404 treat image : temp/1743006147_3740667_1347455635_39837f9444ec8e361bc4c7c4bda00c15.jpg resize: (1080, 1632) 1347455635 -5.384049107330398 treat image : temp/1743006147_3740667_1347455629_3a1f3b6c583c73dd8dd52070567fade2.jpg resize: (1080, 1632) 1347455629 -2.800380417010839 treat image : temp/1743006147_3740667_1347455592_191113cd054a9f38a22e7cb23752cd2d.jpg resize: (1080, 1632) 1347455592 -5.551307711604642 treat image : temp/1743006147_3740667_1347455585_48d241cbc8d385e533dadcb9df06b4c7.jpg resize: (1080, 1632) 1347455585 -5.810290773648458 treat image : temp/1743006147_3740667_1347455580_0e1d39bfd6ec821089c03bf1f743d832.jpg resize: (1080, 1632) 1347455580 -5.4364595241537454 treat image : temp/1743006147_3740667_1347455576_cdbff7976527061de297324d16c3aaf0.jpg resize: (1080, 1632) 1347455576 -5.661572664074016 treat image : temp/1743006147_3740667_1347455537_41d68439bbbc5bfc945119a1cdf7fbee.jpg resize: (1080, 1632) 1347455537 -5.40356299924021 treat image : temp/1743006147_3740667_1347455529_b7f0f17c0bd63483568fb7178f0a9604.jpg resize: (1080, 1632) 1347455529 -4.054978343929068 treat image : temp/1743006147_3740667_1347455524_b378a46bdc45c10f0247e718d797a0c3.jpg resize: (1080, 1632) 1347455524 -5.265567183673463 treat image : temp/1743006147_3740667_1347455518_45e83def750a317d7ae2bf528d3e9f4a.jpg resize: (1080, 1632) 1347455518 -5.976843583122294 treat image : temp/1743006147_3740667_1347455482_a042622bf61970a44ed9f5f5cb5ed927.jpg resize: (1080, 1632) 1347455482 -2.1347708191159045 treat image : temp/1743006147_3740667_1347455474_1f9c60a1d1221486f339a6d1cb4d3745.jpg resize: (1080, 1632) 1347455474 -3.5079922039177966 treat image : temp/1743006147_3740667_1347455467_9e9cba88fe14da6d60ff850ac23850da.jpg resize: (1080, 1632) 1347455467 -4.452176545109321 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.017720937728881836 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.01481318473815918 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015630722045898438 save missing photos in datou_result : time spend for datou_step_exec : 14.494233846664429 time spend to save output : 0.05267333984375 total time spend for step 1 : 14.546907186508179 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.85user 2.30system 0:19.38elapsed 88%CPU (0avgtext+0avgdata 136920maxresident)k 352inputs+9248outputs (1major+148764minor)pagefaults 0swaps