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 : 4168073 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 : 3733>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/4168073/ 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.832841396331787 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 Thu Jul 17 11:12:31 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/1752743548_4168073_1372347173_1bcaee346a8fa26a45bfac3c51c23881.jpg resize: (1080, 1632) 1372347173 -4.442845267240887 treat image : temp/1752743548_4168073_1372347147_46ce84e3270c24f03d2a9c89663eed11.jpg resize: (1080, 1632) 1372347147 -5.1216037423058 treat image : temp/1752743548_4168073_1372347145_329049ff5bc7f8b7d3b8985fd801f69a.jpg resize: (1080, 1632) 1372347145 -4.7104515878013204 treat image : temp/1752743548_4168073_1372347142_44eb258d0c279138cbd1f69c94f0c4ac.jpg resize: (1080, 1632) 1372347142 -5.143029366661101 treat image : temp/1752743548_4168073_1372347141_d558ebaece27aa0c8cdf4a77b0e80a2b.jpg resize: (1080, 1632) 1372347141 -4.905008312069079 treat image : temp/1752743548_4168073_1372347139_416e2963b108177393283a2e59fa7f57.jpg resize: (1080, 1632) 1372347139 -4.220728294113257 treat image : temp/1752743548_4168073_1372347136_90ff5d5f0f566c3ac3399e5231d48306.jpg resize: (1080, 1632) 1372347136 -5.559378266695059 treat image : temp/1752743548_4168073_1372347114_95b1657888b9922d43ad89160618ca7f.jpg resize: (1080, 1632) 1372347114 -4.585471487130773 treat image : temp/1752743548_4168073_1372347111_6614a7fa76985c5aa520928c0ccbed77.jpg resize: (1080, 1632) 1372347111 -4.571075231046527 treat image : temp/1752743548_4168073_1372347108_ff5ecba359205226f0d81726f8a43d9d.jpg resize: (1080, 1632) 1372347108 -3.4293686785736424 treat image : temp/1752743548_4168073_1372347106_e8fb28e550bbfe87a76e8e456f60aa18.jpg resize: (1080, 1632) 1372347106 -5.414262827115442 treat image : temp/1752743548_4168073_1372347105_59759524d52172bbefa3ae3b741ed1e4.jpg resize: (1080, 1632) 1372347105 -5.483249588793124 treat image : temp/1752743548_4168073_1372347103_36a225516efb45e4045fc52d9ed9a130.jpg resize: (1080, 1632) 1372347103 -5.122619079452843 treat image : temp/1752743548_4168073_1372347090_dbd951c9f795de31ccb6661859337b86.jpg resize: (1080, 1632) 1372347090 -0.6788960023228763 treat image : temp/1752743548_4168073_1372347087_7a73049756524ac90f4aa55c8d81594b.jpg resize: (1080, 1632) 1372347087 -1.8491843596716158 treat image : temp/1752743548_4168073_1372347084_f450af3dbdab87d4bc12b00e4786f187.jpg resize: (1080, 1632) 1372347084 -2.9912385364041043 treat image : temp/1752743548_4168073_1372347081_af39e3cc6543a382d3c47987ff230fda.jpg resize: (1080, 1632) 1372347081 -2.3849015553863464 treat image : temp/1752743548_4168073_1372347080_202dccaa1b31f37cdc29f2ab4515dd6e.jpg resize: (1080, 1632) 1372347080 -2.347702657858436 treat image : temp/1752743548_4168073_1372347077_17e9949440375c465b95a76c66d83e2a.jpg resize: (1080, 1632) 1372347077 -2.3542294100694487 treat image : temp/1752743548_4168073_1372347064_5d7769a5ca89d0665b36d510a80b09c9.jpg resize: (1080, 1632) 1372347064 -4.546745707157693 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.03445553779602051 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.033693790435791016 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03200721740722656 save missing photos in datou_result : time spend for datou_step_exec : 14.66621470451355 time spend to save output : 0.113739013671875 total time spend for step 1 : 14.779953718185425 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.02user 3.03system 0:22.02elapsed 77%CPU (0avgtext+0avgdata 138268maxresident)k 0inputs+8632outputs (3major+259699minor)pagefaults 0swaps