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 : 3221099 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 : 3141>100 please execute split_portfolio.py -i 21962613 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2714916'] with mtr_portfolio_ids : ['21962613'] and first list_photo_ids : [] new path : /proc/3221099/ 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.650365114212036 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 Apr 2 20:07: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/1743617249_3221099_1349589811_d51aba1069237637e96bcf9d9bcf0707.jpg resize: (1080, 1632) 1349589811 -4.939062513489701 treat image : temp/1743617249_3221099_1349589805_6281b5264c4a8d0c22c0709eb39e5674.jpg resize: (1080, 1632) 1349589805 -4.495796338921402 treat image : temp/1743617249_3221099_1349589790_52fc00244650aeaa310437b5c62a4193.jpg resize: (1080, 1632) 1349589790 -4.520388601682031 treat image : temp/1743617249_3221099_1349589771_df0e351f6bfa7ff6fe6cbacc33c2ecb4.jpg resize: (1080, 1632) 1349589771 -1.716120006070197 treat image : temp/1743617249_3221099_1349589412_c69ac2d3c039d6b011e7561eac12757a.jpg resize: (1080, 1632) 1349589412 -3.091461041471538 treat image : temp/1743617249_3221099_1349589399_f79bfa9c521b7f3d4466631bc63ded6b.jpg resize: (1080, 1632) 1349589399 -1.1715600434159552 treat image : temp/1743617249_3221099_1349589389_f8ffd0fb55e867b4de1cc34550d6c48f.jpg resize: (1080, 1632) 1349589389 -3.754234850621422 treat image : temp/1743617249_3221099_1349589383_4c35021ae10f5e87f3ec489f84e2dc08.jpg resize: (1080, 1632) 1349589383 -5.256159182493868 treat image : temp/1743617249_3221099_1349589377_97d95e312b1ff26e53bafe8631770b45.jpg resize: (1080, 1632) 1349589377 -3.1468972729269797 treat image : temp/1743617249_3221099_1349589350_d4f5b4855bec43aff9341b4304abe551.jpg resize: (1080, 1632) 1349589350 -4.707107514165484 treat image : temp/1743617249_3221099_1349483651_2d10aef3eeeeaaeb9732c5f32318aa3f.jpg resize: (1080, 1632) 1349483651 -4.947290998063699 treat image : temp/1743617249_3221099_1349483648_021bc9d2cac9fe28d4ac6a7d58cff5eb.jpg resize: (1080, 1632) 1349483648 -2.2364877008033943 treat image : temp/1743617249_3221099_1349483614_ce9776bddb6d70c0ecd4f0f7566c4276.jpg resize: (1080, 1632) 1349483614 -2.558610657921051 treat image : temp/1743617249_3221099_1349483610_def2d203e2d83688742a50d96b963194.jpg resize: (1080, 1632) 1349483610 -1.7397137353768488 treat image : temp/1743617249_3221099_1349483608_3d9592ef6a22b7095f30cdefa33a9d13.jpg resize: (1080, 1632) 1349483608 -2.786219747245124 treat image : temp/1743617249_3221099_1349483604_2e18bd98c20c87a88d03842aa8108a7c.jpg resize: (1080, 1632) 1349483604 -3.0682309976474844 treat image : temp/1743617249_3221099_1349483603_1ce89d023f432f30897860fb487a9136.jpg resize: (1080, 1632) 1349483603 -3.8455341726784704 treat image : temp/1743617249_3221099_1349483565_7451b48bdc5cfa5fcd47de49f93d252c.jpg resize: (1080, 1632) 1349483565 -1.828997882377602 treat image : temp/1743617249_3221099_1349483561_7b1c20f31fe51356e51b2bd5f2c64be4.jpg resize: (1080, 1632) 1349483561 -3.8505563874857227 treat image : temp/1743617249_3221099_1349483557_4526a41ad2504769962509ae394883fe.jpg resize: (1080, 1632) 1349483557 -2.6986686581499906 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.0156557559967041 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.015755653381347656 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.11489248275756836 save missing photos in datou_result : time spend for datou_step_exec : 16.69391655921936 time spend to save output : 0.15096378326416016 total time spend for step 1 : 16.84488034248352 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.90user 4.27system 0:22.87elapsed 83%CPU (0avgtext+0avgdata 136892maxresident)k 0inputs+7576outputs (0major+259303minor)pagefaults 0swaps