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 : 3423082 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 : 2619>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/3423082/ 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.7375059127807617 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 May 12 18:12: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/1747066347_3423082_1357680720_e718d5013cfd4c2189536bb2d7e031fa.jpg resize: (1080, 1632) 1357680720 -5.515217157412181 treat image : temp/1747066347_3423082_1357668097_4f7f82b6269c6cab83fbffeadaab2b01.jpg resize: (1080, 1632) 1357668097 -4.040543740475404 treat image : temp/1747066347_3423082_1357668071_7537738a5f219f15e0db8c64a799c818.jpg resize: (1080, 1632) 1357668071 -5.868344580864757 treat image : temp/1747066347_3423082_1357667737_6432d6a2c6540a01a65d732dc8474777.jpg resize: (1080, 1632) 1357667737 -4.334016978646814 treat image : temp/1747066347_3423082_1357667711_c417bcb8f978dd306a2174b918709841.jpg resize: (1080, 1632) 1357667711 -3.000773108526614 treat image : temp/1747066347_3423082_1357667686_ddf35de18f9a6d5c86dce90f650fd067.jpg resize: (1080, 1632) 1357667686 -3.5653306102465483 treat image : temp/1747066347_3423082_1357667659_311f460eb5426b0cfb47916e06148e46.jpg resize: (1080, 1632) 1357667659 -3.0058046126244644 treat image : temp/1747066347_3423082_1357667634_7c255c67fda981042f60934e7d380641.jpg resize: (1080, 1632) 1357667634 -3.5393384014182594 treat image : temp/1747066347_3423082_1357667608_ee8820980b4b28a3b611291c5f33f65e.jpg resize: (1080, 1632) 1357667608 -4.058273135501134 treat image : temp/1747066347_3423082_1357666688_d5d5e51d80ce340a67a5e01cba83d2aa.jpg resize: (1080, 1632) 1357666688 -4.271305628659291 treat image : temp/1747066347_3423082_1357666685_3f0c896f6cc92db4c5107750a6a4a7bf.jpg resize: (1080, 1632) 1357666685 -3.36298946940377 treat image : temp/1747066347_3423082_1357666648_a87d0f81daa87ff0e9e584a2b9a5892a.jpg resize: (1080, 1632) 1357666648 -4.799609357562378 treat image : temp/1747066347_3423082_1357666604_278063cd09b162b5f1f7e3f64e860ddd.jpg resize: (1080, 1632) 1357666604 -5.797780432480566 treat image : temp/1747066347_3423082_1357666577_fb2c656f0f1b05586ab0b814aea2cb8d.jpg resize: (1080, 1632) 1357666577 -2.5287384750070565 treat image : temp/1747066347_3423082_1357666352_7b53423adc513473c83bedc35b39780f.jpg resize: (1080, 1632) 1357666352 -5.843812625904233 treat image : temp/1747066347_3423082_1357666334_bd7b6ede6b83bfa25050ce9094b75dc6.jpg resize: (1080, 1632) 1357666334 -2.992883369528195 treat image : temp/1747066347_3423082_1357666330_e3112d61fd1348a7929587b17c3dd3ab.jpg resize: (1080, 1632) 1357666330 -5.8391301037335035 treat image : temp/1747066347_3423082_1357666327_faf700c420c7c7ce8b5ed25886963a0d.jpg resize: (1080, 1632) 1357666327 -1.9627516598273658 treat image : temp/1747066347_3423082_1357666204_34791a781c5ec5e1d9b6fd7c6f5cca1a.jpg resize: (1080, 1632) 1357666204 -1.3663126879775822 treat image : temp/1747066347_3423082_1357666166_ebc11c650e0612db899013264eeb73a9.jpg resize: (1080, 1632) 1357666166 -2.5418304072604263 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.012826681137084961 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.012638092041015625 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014786720275878906 save missing photos in datou_result : time spend for datou_step_exec : 15.735125064849854 time spend to save output : 0.04504060745239258 total time spend for step 1 : 15.780165672302246 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.62user 3.50system 0:20.30elapsed 89%CPU (0avgtext+0avgdata 140448maxresident)k 408inputs+9424outputs (17major+264486minor)pagefaults 0swaps