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 : 1363130 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 : 1071>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/1363130/ 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.3461127281188965 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 Tue May 20 08:47: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/1747723648_1363130_1359778438_c8d1500d024ce9fa76b698427d983290.jpg resize: (1080, 1632) 1359778438 -5.9295567264237885 treat image : temp/1747723648_1363130_1359778435_d8d4b53dfe72427553ce1b2c3687b6c7.jpg resize: (1080, 1632) 1359778435 -4.972487844100963 treat image : temp/1747723648_1363130_1359778433_b39ba9fc8965eb3702be860be43a63d5.jpg resize: (1080, 1632) 1359778433 -3.766140578680623 treat image : temp/1747723648_1363130_1359778413_05c7884c605fea9151731bbe44b33245.jpg resize: (1080, 1632) 1359778413 -4.394705611648348 treat image : temp/1747723648_1363130_1359778407_3cb9eb9e4f18a51e0bd3bcb8cfbb1aa1.jpg resize: (1080, 1632) 1359778407 -3.972220578620531 treat image : temp/1747723648_1363130_1359778396_9b48e4053a5f025fd4ea89e7bedca2ce.jpg resize: (1080, 1632) 1359778396 -6.113850884578802 treat image : temp/1747723648_1363130_1359778391_dfdaae8acec839cc1a7ea7747c57c16c.jpg resize: (1080, 1632) 1359778391 -5.1070751574741085 treat image : temp/1747723648_1363130_1359778388_391d515ae3906f7b81dba5f2d10460b6.jpg resize: (1080, 1632) 1359778388 -5.8043398374055615 treat image : temp/1747723648_1363130_1359778386_4ea1c1d0deaa934d0e698f62a224c71a.jpg resize: (1080, 1632) 1359778386 -6.087177971103704 treat image : temp/1747723648_1363130_1359778358_8f9aae8848a13401cab257721f92d08a.jpg resize: (1080, 1632) 1359778358 -3.6436486089146998 treat image : temp/1747723648_1363130_1359778355_7a44bf6f3f9cb93a48e8fdcf1ebd045b.jpg resize: (1080, 1632) 1359778355 -4.745064252725758 treat image : temp/1747723648_1363130_1359778349_4eb19193a5eeaffee8c34adf09630bed.jpg resize: (1080, 1632) 1359778349 -1.0342333578134504 treat image : temp/1747723648_1363130_1359778342_9a6125585180c62ac08d570fb70599a4.jpg resize: (1080, 1632) 1359778342 -1.5419532089693344 treat image : temp/1747723648_1363130_1359778218_1590c277cf1ee790732004fc4df3bcb9.jpg resize: (1080, 1632) 1359778218 -6.044042991747697 treat image : temp/1747723648_1363130_1359778214_93d667b0e29c80657a986d4dca055357.jpg resize: (1080, 1632) 1359778214 -5.328228547504386 treat image : temp/1747723648_1363130_1359778210_aea320ddb6e32cd3d193cf65891c1b17.jpg resize: (1080, 1632) 1359778210 -5.356042754146928 treat image : temp/1747723648_1363130_1359778207_03c315078c6a275633edef5b64374de3.jpg resize: (1080, 1632) 1359778207 -5.768671624998635 treat image : temp/1747723648_1363130_1359778203_a9ca2de899bb773ee13b8041858e6942.jpg resize: (1080, 1632) 1359778203 -5.528327471146868 treat image : temp/1747723648_1363130_1359778199_d9147c02e1ea73db0a4cb1f9aafd2a68.jpg resize: (1080, 1632) 1359778199 -5.3657654140817 treat image : temp/1747723648_1363130_1359778144_0f6175ebaa74702b775b6a6d53688c28.jpg resize: (1080, 1632) 1359778144 -5.554511224761592 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.01230621337890625 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.020902633666992188 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01806473731994629 save missing photos in datou_result : time spend for datou_step_exec : 15.674987077713013 time spend to save output : 0.05684947967529297 total time spend for step 1 : 15.731836557388306 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.31user 3.85system 0:21.87elapsed 83%CPU (0avgtext+0avgdata 138512maxresident)k 760inputs+10040outputs (22major+237774minor)pagefaults 0swaps