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 : 742918 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 : 8491>100 please execute split_portfolio.py -i 25300662 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3345597'] with mtr_portfolio_ids : ['25300662'] and first list_photo_ids : [] new path : /proc/742918/ 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 : 3.0345451831817627 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 Fri Aug 1 10:02: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/1754035346_742918_1374652791_1112e27772c83e5d0a8536646035046d.jpg resize: (1080, 1632) 1374652791 -4.236309418245749 treat image : temp/1754035346_742918_1374652789_25102ec8598cbf7913c1262ce6938952.jpg resize: (1080, 1632) 1374652789 -5.257514598127199 treat image : temp/1754035346_742918_1374652788_0af7381868870fb3480a00c3cc192d56.jpg resize: (1080, 1632) 1374652788 -5.044934984600841 treat image : temp/1754035346_742918_1374652721_9b840571d4ecb96bd03124b63b7c8c38.jpg resize: (1080, 1632) 1374652721 -5.189456764387237 treat image : temp/1754035346_742918_1374652708_0a86401fec69c43042b1da98a776a699.jpg resize: (1080, 1632) 1374652708 -3.320571095797414 treat image : temp/1754035346_742918_1374652707_4f047c3e53842b3d820387b50971f132.jpg resize: (1080, 1632) 1374652707 -4.9897985421561 treat image : temp/1754035346_742918_1374652706_6f47c43caf423484f63918df742c103d.jpg resize: (1080, 1632) 1374652706 -4.492503013415219 treat image : temp/1754035346_742918_1374652705_3c65fe70b5e8ae36b8180dbdc07cbcaa.jpg resize: (1080, 1632) 1374652705 -4.104753348254907 treat image : temp/1754035346_742918_1374652703_7774d535665ae7ba02db3896f078b500.jpg resize: (1080, 1632) 1374652703 -3.540667692521306 treat image : temp/1754035346_742918_1374652644_9602f7822c47fabad752fd108d9ad58b.jpg resize: (1080, 1632) 1374652644 -4.594151269886862 treat image : temp/1754035346_742918_1374652641_c4f878fd72bd778dea58c6d103096e98.jpg resize: (1080, 1632) 1374652641 -4.422623637871743 treat image : temp/1754035346_742918_1374652634_ba61ce14f639e60f627372083eee82ec.jpg resize: (1080, 1632) 1374652634 -5.229085030475729 treat image : temp/1754035346_742918_1374652632_118de10b91354630f6a293582452631a.jpg resize: (1080, 1632) 1374652632 -2.5558485934068913 treat image : temp/1754035346_742918_1374652627_29c91e2bd5c855e27f00c523a95752c0.jpg resize: (1080, 1632) 1374652627 -1.435817436813481 treat image : temp/1754035346_742918_1374652622_fe88fffbfcbe0c158f10fdc24e918ceb.jpg resize: (1080, 1632) 1374652622 -1.7010081345968302 treat image : temp/1754035346_742918_1374652429_3b0716310a5d3810a67b56cbdaf25b7f.jpg resize: (1080, 1632) 1374652429 -5.184181851125557 treat image : temp/1754035346_742918_1374652425_61638a37e0ffe5a929e6ae80942f21c1.jpg resize: (1080, 1632) 1374652425 -3.5193857702295674 treat image : temp/1754035346_742918_1374652422_a4d9a212701b7b3a13c920ebcd43cb48.jpg resize: (1080, 1632) 1374652422 -1.494018007409574 treat image : temp/1754035346_742918_1374652421_4a58352f7163fe247e9126a38e069019.jpg resize: (1080, 1632) 1374652421 -4.722037138473299 treat image : temp/1754035346_742918_1374652398_be6ef250add1fc3c5467e91b25675e35.jpg resize: (1080, 1632) 1374652398 -5.176889638957989 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.01775336265563965 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.0427858829498291 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.030867815017700195 save missing photos in datou_result : time spend for datou_step_exec : 16.69186758995056 time spend to save output : 0.09665179252624512 total time spend for step 1 : 16.788519382476807 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.41user 4.85system 0:21.80elapsed 88%CPU (0avgtext+0avgdata 139436maxresident)k 8760inputs+8584outputs (31major+258626minor)pagefaults 0swaps