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 : 2923984 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 : 1182>100 please execute split_portfolio.py -i 21894590 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2707489'] with mtr_portfolio_ids : ['21894590'] and first list_photo_ids : [] new path : /proc/2923984/ 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.27187442779541 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 Mar 31 11:17: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/1743412648_2923984_1348978952_8e9be8463a3c5ca6a045e94b705bd849.jpg resize: (1080, 1632) 1348978952 -1.2601956119736304 treat image : temp/1743412648_2923984_1348978921_c1e878743d42b234c4f25ef3c7eb586a.jpg resize: (1080, 1632) 1348978921 -4.979617579273992 treat image : temp/1743412648_2923984_1348978912_122023aa34b548d95de46fb3d6e7948e.jpg resize: (1080, 1632) 1348978912 -4.425474255806585 treat image : temp/1743412648_2923984_1348978909_618f5a01ee9f948c4e8adf54baca4e17.jpg resize: (1080, 1632) 1348978909 -4.024419378087512 treat image : temp/1743412648_2923984_1348978825_ec7ef82ed431d14dd93f874b8f7e3b01.jpg resize: (1080, 1632) 1348978825 -5.830900296680329 treat image : temp/1743412648_2923984_1348978795_2a780e7ea63a3dbf7610e420f87adac6.jpg resize: (1080, 1632) 1348978795 -5.705324609200309 treat image : temp/1743412648_2923984_1348978790_3a9cf1a40aab843834542d9acfe392d5.jpg resize: (1080, 1632) 1348978790 -4.9061744234509055 treat image : temp/1743412648_2923984_1348978784_5f03da341c38bf7178a93d334ec5d13f.jpg resize: (1080, 1632) 1348978784 -5.862904848760531 treat image : temp/1743412648_2923984_1348978780_e54923ac7feeca17293d39961fd6dcc6.jpg resize: (1080, 1632) 1348978780 -5.45365491799016 treat image : temp/1743412648_2923984_1348978730_f84287f10f831df0a7a6b48ad1a2a443.jpg resize: (1080, 1632) 1348978730 -5.263668962280709 treat image : temp/1743412648_2923984_1348978726_9804130fa6a5c419cf847ad7dcec4827.jpg resize: (1080, 1632) 1348978726 -4.833794995860368 treat image : temp/1743412648_2923984_1348978719_e82c10ff9172912a267226f12a4cf156.jpg resize: (1080, 1632) 1348978719 -6.102363849261907 treat image : temp/1743412648_2923984_1348978713_5bb72e7d1344b80db4f09b2f15820114.jpg resize: (1080, 1632) 1348978713 -5.571576236883934 treat image : temp/1743412648_2923984_1348978708_bbaf2efea52502d581818b54108f5481.jpg resize: (1080, 1632) 1348978708 -5.470155502531753 treat image : temp/1743412648_2923984_1348978704_9721507c55055dd40e1652083fd7d734.jpg resize: (1080, 1632) 1348978704 -5.4279604336680185 treat image : temp/1743412648_2923984_1348964754_ff6c79893e4d49f6f61e44e41ac25e78.jpg resize: (1080, 1632) 1348964754 -5.91852258207412 treat image : temp/1743412648_2923984_1348964752_2e0905f2e9f8018a884ca5083c3bb8ea.jpg resize: (1080, 1632) 1348964752 -5.181498137742682 treat image : temp/1743412648_2923984_1348964749_0b473cb4379c31b49b79bbd25937dc7f.jpg resize: (1080, 1632) 1348964749 -4.940613012557113 treat image : temp/1743412648_2923984_1348964748_d8a960e5669c018d936c7a473eb69e96.jpg resize: (1080, 1632) 1348964748 -4.416778205405547 treat image : temp/1743412648_2923984_1348964708_5227bb1e2d9332b374d6de001d8e8a29.jpg resize: (1080, 1632) 1348964708 -3.2243287454866127 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.012826919555664062 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.1659107208251953 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014839410781860352 save missing photos in datou_result : time spend for datou_step_exec : 16.287166118621826 time spend to save output : 0.19864606857299805 total time spend for step 1 : 16.485812187194824 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.59user 5.02system 0:22.06elapsed 88%CPU (0avgtext+0avgdata 140408maxresident)k 152inputs+9936outputs (4major+259252minor)pagefaults 0swaps