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 : 2512904 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 : 1455>100 please execute split_portfolio.py -i 23034647 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2869780'] with mtr_portfolio_ids : ['23034647'] and first list_photo_ids : [] new path : /proc/2512904/ 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.4260175228118896 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 May 16 07:07: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/1747372048_2512904_1358839231_530e7a8983ffbb4a71a261bce849b69c.jpg resize: (1080, 1632) 1358839231 -1.985931712311146 treat image : temp/1747372048_2512904_1358839212_e9ea721b8f4e8f23b10c85ea9f1b5fb3.jpg resize: (1080, 1632) 1358839212 -3.090737153384234 treat image : temp/1747372048_2512904_1358839182_d013583bd22a2b7d1fe55bdc1a9db423.jpg resize: (1080, 1632) 1358839182 -5.092126170313705 treat image : temp/1747372048_2512904_1358839159_97830456bcffa8f15cb4ff5832da9d7d.jpg resize: (1080, 1632) 1358839159 -5.668765357314568 treat image : temp/1747372048_2512904_1358839130_fd677a97b3752bf2bc347f087b5fe213.jpg resize: (1080, 1632) 1358839130 -3.5554501071600244 treat image : temp/1747372048_2512904_1358839070_9063d556a993dd4f0048623a91647d2e.jpg resize: (1080, 1632) 1358839070 -3.2515509849278716 treat image : temp/1747372048_2512904_1358838695_bb6a2866dd3acbbcf0b44a481da1e426.jpg resize: (1080, 1632) 1358838695 -5.903529396464747 treat image : temp/1747372048_2512904_1358838666_8fb8950fa97257f9b62343bd28b4f9f0.jpg resize: (1080, 1632) 1358838666 -4.893929449652815 treat image : temp/1747372048_2512904_1358838637_a645dfa6c24ad9f645b1f28fac24f26b.jpg resize: (1080, 1632) 1358838637 -0.19015727270975127 treat image : temp/1747372048_2512904_1358838365_b44e26cc94d1222b5a61c129981acbef.jpg resize: (1080, 1632) 1358838365 -6.037750067867247 treat image : temp/1747372048_2512904_1358838339_1b87bc175482212d385b4e1f33378038.jpg resize: (1080, 1632) 1358838339 -5.602128023864989 treat image : temp/1747372048_2512904_1358838311_78a1ab39cb3edfa20aeaf244d74e8640.jpg resize: (1080, 1632) 1358838311 -2.6115883960732904 treat image : temp/1747372048_2512904_1358838283_18dd857da1e00412551ffd3d91869d1b.jpg resize: (1080, 1632) 1358838283 -5.532692537761523 treat image : temp/1747372048_2512904_1358838256_18a708e790f4fa2e541ad79218120c86.jpg resize: (1080, 1632) 1358838256 -6.081340101966641 treat image : temp/1747372048_2512904_1358837948_21b6b5b76303ed9786fc9f17be93072c.jpg resize: (1080, 1632) 1358837948 -1.8803008592476875 treat image : temp/1747372048_2512904_1358837923_668c0b1f18e68351348d1d2c81ddd709.jpg resize: (1080, 1632) 1358837923 -3.4217099979702432 treat image : temp/1747372048_2512904_1358837898_6506bbb0aa503b19894f84c22f22b283.jpg resize: (1080, 1632) 1358837898 -2.2589754598179486 treat image : temp/1747372048_2512904_1358837871_1828ad027ecc494ac292cfa04a570867.jpg resize: (1080, 1632) 1358837871 -2.643689689232401 treat image : temp/1747372048_2512904_1358837843_59e87a9862f2a85050939994d006b2cc.jpg resize: (1080, 1632) 1358837843 -5.621917369631543 treat image : temp/1747372048_2512904_1358837172_bb6616bad7657614eb305968d75b0971.jpg resize: (1080, 1632) 1358837172 -4.065041436913321 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.012833356857299805 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.12400603294372559 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.1109013557434082 save missing photos in datou_result : time spend for datou_step_exec : 18.260339975357056 time spend to save output : 0.2521364688873291 total time spend for step 1 : 18.512476444244385 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.78user 6.31system 0:24.31elapsed 86%CPU (0avgtext+0avgdata 140496maxresident)k 920inputs+9000outputs (22major+260173minor)pagefaults 0swaps