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 : 30264 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 : 1411>100 please execute split_portfolio.py -i 25626683 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3429650'] with mtr_portfolio_ids : ['25626683'] and first list_photo_ids : [] new path : /proc/30264/ 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.345334053039551 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 Mon Aug 4 16:17: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/1754317048_30264_1375133607_83b0ede0fb208d83456100c9bc726ae1.jpg resize: (1080, 1632) 1375133607 -3.440388481188147 treat image : temp/1754317048_30264_1375133606_500692df8e92c1b79a225cabe01541a4.jpg resize: (1080, 1632) 1375133606 -5.12184678812437 treat image : temp/1754317048_30264_1375133603_f58866b75b84dbab0f13a82f75476277.jpg resize: (1080, 1632) 1375133603 -3.5128353928426077 treat image : temp/1754317048_30264_1375133598_e8af06de4bba62554e66b861af7d1390.jpg resize: (1080, 1632) 1375133598 -1.4034593740401662 treat image : temp/1754317048_30264_1375133595_093badcac4a1a43fcd27ae0e09964754.jpg resize: (1080, 1632) 1375133595 -0.9090494118913398 treat image : temp/1754317048_30264_1375133584_16a43bfedf0f03caf729031d91149e23.jpg resize: (1080, 1632) 1375133584 -5.067552294240295 treat image : temp/1754317048_30264_1375133582_fc31252e63e00d402abb596b1d0c94fa.jpg resize: (1080, 1632) 1375133582 -3.3664383319614877 treat image : temp/1754317048_30264_1375133579_09dd84caca22e6a284fec87fafe8b06e.jpg resize: (1080, 1632) 1375133579 -5.464386875804658 treat image : temp/1754317048_30264_1375133576_2d2c37e2f59b5e97471d54c16064f8d2.jpg resize: (1080, 1632) 1375133576 -4.832294796045908 treat image : temp/1754317048_30264_1375133574_d24d699b84d484abe46cd8901e18b127.jpg resize: (1080, 1632) 1375133574 -4.544684229453921 treat image : temp/1754317048_30264_1375133572_73a9e241b533a27d833e189083fc7680.jpg resize: (1080, 1632) 1375133572 -4.227992900233297 treat image : temp/1754317048_30264_1375133557_9bef51c8c1d5917a8d34889e363d6bb2.jpg resize: (1080, 1632) 1375133557 -1.5559914476403585 treat image : temp/1754317048_30264_1375133554_fc253a82112d90d3280d55fe69af97ab.jpg resize: (1080, 1632) 1375133554 -5.639363058590209 treat image : temp/1754317048_30264_1375133548_c768d653f1f99dfadc477757eca83372.jpg resize: (1080, 1632) 1375133548 -5.031171890834397 treat image : temp/1754317048_30264_1375133544_a4506dd808ce3c8ba3e8675138f46336.jpg resize: (1080, 1632) 1375133544 -6.063915565285975 treat image : temp/1754317048_30264_1375133535_fd41874f665a9197efe44dc010687a66.jpg resize: (1080, 1632) 1375133535 -5.244739197697483 treat image : temp/1754317048_30264_1375133531_774175cf1d620718a576befa8a5b1a15.jpg resize: (1080, 1632) 1375133531 -5.114815219985955 treat image : temp/1754317048_30264_1375133520_f7a4b2f26a6267936bb061e34bc2e8a6.jpg resize: (1080, 1632) 1375133520 -2.611752997208364 treat image : temp/1754317048_30264_1375133518_88c97ebe85f0dab3161dfd118b6a3c38.jpg resize: (1080, 1632) 1375133518 -4.194019916887183 treat image : temp/1754317048_30264_1375133515_cd161f319ba2a10aaf1273f95475f411.jpg resize: (1080, 1632) 1375133515 -4.904924553795644 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.013677835464477539 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.012975692749023438 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016962766647338867 save missing photos in datou_result : time spend for datou_step_exec : 15.99155068397522 time spend to save output : 0.048217058181762695 total time spend for step 1 : 16.039767742156982 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.33user 4.39system 0:21.73elapsed 86%CPU (0avgtext+0avgdata 138152maxresident)k 0inputs+9048outputs (0major+263917minor)pagefaults 0swaps