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 : 3935005 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 : 2802>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3935005/ 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.380260705947876 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 May 21 19:22:28 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/1747848146_3935005_1360121580_a30d4cca0f79ade2f2bbf207baa45a91.jpg resize: (1080, 1632) 1360121580 -0.5643212599311005 treat image : temp/1747848146_3935005_1360121576_72d8d9bf1e4a51aaf5389d66cea1d7bf.jpg resize: (1080, 1632) 1360121576 -1.5177106143681192 treat image : temp/1747848146_3935005_1360121572_4d0df2fd3ff6f0eb8a149732b8728ac2.jpg resize: (1080, 1632) 1360121572 -0.6379780308202208 treat image : temp/1747848146_3935005_1360121569_f27db09154e86f43065686516ffb50d6.jpg resize: (1080, 1632) 1360121569 -2.326731579504856 treat image : temp/1747848146_3935005_1360121447_84e1f14e1fee459a6ee994417e321edb.jpg resize: (1080, 1632) 1360121447 -6.227941906465306 treat image : temp/1747848146_3935005_1360121423_e5d19846cd705ca796eef935d7dabe7f.jpg resize: (1080, 1632) 1360121423 -2.9194074213226324 treat image : temp/1747848146_3935005_1360121396_624a966f7500e8d887caccf2e56c3d66.jpg resize: (1080, 1632) 1360121396 -4.922634068433228 treat image : temp/1747848146_3935005_1360121364_9e34f333c8d3fbe9cbbc4c08d71b441e.jpg resize: (1080, 1632) 1360121364 -4.717289433696482 treat image : temp/1747848146_3935005_1360121318_7ddd58e390712389f8446849c9e7b257.jpg resize: (1080, 1632) 1360121318 -3.64564849418118 treat image : temp/1747848146_3935005_1360120886_feeae873b5538ba997cb1a9b413bd806.jpg resize: (1080, 1632) 1360120886 -5.512378440530626 treat image : temp/1747848146_3935005_1360120832_a955029e6b232e29d2f5b2b08d0ff12b.jpg resize: (1080, 1632) 1360120832 -6.467551985413764 treat image : temp/1747848146_3935005_1360120781_0851642c9c4ece2b0e76d92e14be6ab3.jpg resize: (1080, 1632) 1360120781 -5.627571553084611 treat image : temp/1747848146_3935005_1360120745_e2ce7ed1987788f3b1198377d8a4f61e.jpg resize: (1080, 1632) 1360120745 -5.170378505960772 treat image : temp/1747848146_3935005_1360120720_d166e33ca4c87d6b0c7c1a1729bf0753.jpg resize: (1080, 1632) 1360120720 -5.13760652731471 treat image : temp/1747848146_3935005_1360120222_181caf65f6bdacebd2fbc7c1b53bee10.jpg resize: (1080, 1632) 1360120222 -3.106541065019228 treat image : temp/1747848146_3935005_1360120172_b8a6a2eed6a2bd23d8f23239eea7bfb0.jpg resize: (1080, 1632) 1360120172 -5.5879874688176 treat image : temp/1747848146_3935005_1360120119_9b8193f72dcc06bae2b31265c7e789f4.jpg resize: (1080, 1632) 1360120119 -3.9187402741114155 treat image : temp/1747848146_3935005_1360120065_7073a9cb23d904267710063947f17848.jpg resize: (1080, 1632) 1360120065 -6.67039074540081 treat image : temp/1747848146_3935005_1360120014_17f3d0674483aadf55c6bc4fcd6d9585.jpg resize: (1080, 1632) 1360120014 -6.682074461781516 treat image : temp/1747848146_3935005_1360119582_940b42bdc12841074f1374a1aad957ee.jpg resize: (1080, 1632) 1360119582 -5.6151170389142235 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.0261075496673584 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.022742033004760742 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.023169994354248047 save missing photos in datou_result : time spend for datou_step_exec : 15.73743462562561 time spend to save output : 0.07663321495056152 total time spend for step 1 : 15.814067840576172 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.33user 3.83system 0:19.60elapsed 92%CPU (0avgtext+0avgdata 138240maxresident)k 136inputs+9648outputs (6major+263962minor)pagefaults 0swaps