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 : 2988398 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 : 1480>100 please execute split_portfolio.py -i 21403117 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2667237'] with mtr_portfolio_ids : ['21403117'] and first list_photo_ids : [] new path : /proc/2988398/ 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 : 4.417048454284668 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 Mar 14 09:52:32 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/1741942348_2988398_1344102063_6c39f66449cf043644de0cd0a33ca6a3.jpg resize: (1080, 1632) 1344102063 -4.460657776178408 treat image : temp/1741942348_2988398_1344102056_e1bd2a47c78f763cee5a21cdd21f02b6.jpg resize: (1080, 1632) 1344102056 -5.341973404135927 treat image : temp/1741942348_2988398_1344102045_0b9b61949321862a841f1441097f35e7.jpg resize: (1080, 1632) 1344102045 -4.688659664411269 treat image : temp/1741942348_2988398_1344102030_b59025bcea29680252533dcb79cb3a61.jpg resize: (1080, 1632) 1344102030 -6.402811854531224 treat image : temp/1741942348_2988398_1344102010_a9e399e9b802d0fbf02d4ca50882aff4.jpg resize: (1080, 1632) 1344102010 -6.137433257355498 treat image : temp/1741942348_2988398_1344101994_aa8b0e92821b77519227bbe4fcfc9de8.jpg resize: (1080, 1632) 1344101994 -6.381305899304352 treat image : temp/1741942348_2988398_1344101757_b04a2aabd79f713da6de3d308e258995.jpg resize: (1080, 1632) 1344101757 -2.3268970364727712 treat image : temp/1741942348_2988398_1344101756_a52f6d0243cd3c48ad95e0948f2b4be8.jpg resize: (1080, 1632) 1344101756 -6.471735007434212 treat image : temp/1741942348_2988398_1344101749_97e6d8340f933295cc6311b10eacc323.jpg resize: (1080, 1632) 1344101749 -2.894085159974237 treat image : temp/1741942348_2988398_1344101746_cee2f8485524878c27cf69b5f07d1665.jpg resize: (1080, 1632) 1344101746 -2.6689925502860734 treat image : temp/1741942348_2988398_1344101742_b408166bb6b096904374fc70a269e025.jpg resize: (1080, 1632) 1344101742 -2.016800006151001 treat image : temp/1741942348_2988398_1344101736_db773f5fd2623f76db98a03c26db705a.jpg resize: (1080, 1632) 1344101736 -6.10440339150445 treat image : temp/1741942348_2988398_1344101730_1dc6ecdf1b87f4f77c3ae04fba943e9c.jpg resize: (1080, 1632) 1344101730 -5.90677408288164 treat image : temp/1741942348_2988398_1344101728_17df25209f42ee0b3661746b7af28996.jpg resize: (1080, 1632) 1344101728 -6.303013948053438 treat image : temp/1741942348_2988398_1344101725_fc71cbe6eda8e6a1794da043511e583a.jpg resize: (1080, 1632) 1344101725 -6.521806723025488 treat image : temp/1741942348_2988398_1344101722_217c9a979487ec1ca9fc3e66c456f42b.jpg resize: (1080, 1632) 1344101722 -6.471735007434212 treat image : temp/1741942348_2988398_1344101718_1dc7bbd4b3bcb04668e8bd77eb2317e6.jpg resize: (1080, 1632) 1344101718 -5.871975458204896 treat image : temp/1741942348_2988398_1344101712_ffbc3819164c373ee43ab8d1f657b9f0.jpg resize: (1080, 1632) 1344101712 -2.894085159974237 treat image : temp/1741942348_2988398_1344101711_e73119c0756da7bea112a78093ab7045.jpg resize: (1080, 1632) 1344101711 -6.207693241019416 treat image : temp/1741942348_2988398_1344101534_90a8c3bec169bd283dd891c244a09865.jpg resize: (1080, 1632) 1344101534 -5.871975458204896 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.11670970916748047 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.014768838882446289 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01598811149597168 save missing photos in datou_result : time spend for datou_step_exec : 15.244404315948486 time spend to save output : 0.1519026756286621 total time spend for step 1 : 15.396306991577148 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.39user 3.50system 0:23.66elapsed 75%CPU (0avgtext+0avgdata 139288maxresident)k 128inputs+11288outputs (0major+256768minor)pagefaults 0swaps