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 : 1593010 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 : 398>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/1593010/ 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.5460941791534424 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 14 06:42:29 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/1747197747_1593010_1358095719_77ba0fc7e71d7366984a58fb1d75dadc.jpg resize: (1080, 1632) 1358095719 -0.6565730827510982 treat image : temp/1747197747_1593010_1358095715_3a8e57c889f76addc9762b803c943cb9.jpg resize: (1080, 1632) 1358095715 -1.9198293349750104 treat image : temp/1747197747_1593010_1358095708_23d2e38a75277a9e59d48f902e5b8107.jpg resize: (1080, 1632) 1358095708 -4.922795168144536 treat image : temp/1747197747_1593010_1358095679_efec60bfe80fb39fb00b176ff16d38cd.jpg resize: (1080, 1632) 1358095679 -5.8906603064068905 treat image : temp/1747197747_1593010_1358095677_2412f6b56cb888be48b01da115d5465b.jpg resize: (1080, 1632) 1358095677 -5.697257374954214 treat image : temp/1747197747_1593010_1358095674_25f75c9df8634fa174b5868d80ce566d.jpg resize: (1080, 1632) 1358095674 -5.64904120670025 treat image : temp/1747197747_1593010_1358095673_8c03ddb213189d999086f6eaa8076343.jpg resize: (1080, 1632) 1358095673 -5.754677547987533 treat image : temp/1747197747_1593010_1358095672_3d1f4df95da5f2730dae6a48a01470f0.jpg resize: (1080, 1632) 1358095672 -5.019641808576989 treat image : temp/1747197747_1593010_1358095669_994885bf36e369b2fd38a527cbeb4014.jpg resize: (1080, 1632) 1358095669 -5.099531731388563 treat image : temp/1747197747_1593010_1358095646_00ad64df19e73e8e1fd05ba14c24d8c2.jpg resize: (1080, 1632) 1358095646 -6.819040635119298 treat image : temp/1747197747_1593010_1358095641_3a01fd83a0b51fbfbb6e89dd210e54b9.jpg resize: (1080, 1632) 1358095641 -6.143563589055549 treat image : temp/1747197747_1593010_1358095638_d21f572c0d1a700e8079745664e50ccc.jpg resize: (1080, 1632) 1358095638 -6.094032218584127 treat image : temp/1747197747_1593010_1358095635_49d1390743fd6e684b17a24e7c8f86ae.jpg resize: (1080, 1632) 1358095635 -6.123609946792843 treat image : temp/1747197747_1593010_1358095632_9d0b16b2d1c9d350cfb74523495c69b8.jpg resize: (1080, 1632) 1358095632 -5.420160916161206 treat image : temp/1747197747_1593010_1358095628_80820ec204b3ecbc1d1817b0f622c753.jpg resize: (1080, 1632) 1358095628 -6.240906736151396 treat image : temp/1747197747_1593010_1358095597_3653f0f3fc38bf5294545e607ddf6ff8.jpg resize: (1080, 1632) 1358095597 -1.2508872180030366 treat image : temp/1747197747_1593010_1358095596_25ed4991210d965893f10fa2a76857b0.jpg resize: (1080, 1632) 1358095596 -1.3792155010912328 treat image : temp/1747197747_1593010_1358095595_04359e2add3044b94114b219b9ae4ca7.jpg resize: (1080, 1632) 1358095595 -4.469446151170905 treat image : temp/1747197747_1593010_1358095593_e48d951a0c3a552949f60a2c62bb7c4b.jpg resize: (1080, 1632) 1358095593 -6.480129895204835 treat image : temp/1747197747_1593010_1358095562_cd46a6bbc723c6a4aa8086bf53e08d15.jpg resize: (1080, 1632) 1358095562 -5.75679265930794 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.012701749801635742 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.047126054763793945 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017983436584472656 save missing photos in datou_result : time spend for datou_step_exec : 15.583004474639893 time spend to save output : 0.0831151008605957 total time spend for step 1 : 15.666119575500488 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.21user 2.87system 0:20.73elapsed 87%CPU (0avgtext+0avgdata 141120maxresident)k 488inputs+10456outputs (12major+260281minor)pagefaults 0swaps