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 : 2545012 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 : 855>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/2545012/ 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.1046295166015625 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 07:37: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/1741934248_2545012_1344083352_efdab163316990d4b4e5606ea2e03598.jpg resize: (1080, 1632) 1344083352 -6.398365521932432 treat image : temp/1741934248_2545012_1344083351_60b5420c5a9a8b3c5cab96696a06f640.jpg resize: (1080, 1632) 1344083351 -6.685214941597176 treat image : temp/1741934248_2545012_1344083349_37ef8e7e220a572841a33254b43f0273.jpg resize: (1080, 1632) 1344083349 -4.798346908327977 treat image : temp/1741934248_2545012_1344083338_cfba3a48abc45d6b782e9577664074da.jpg resize: (1080, 1632) 1344083338 -1.3847633097742678 treat image : temp/1741934248_2545012_1344083336_ec785324709b1a9968dbd2b279dcfb4d.jpg resize: (1080, 1632) 1344083336 -1.9938913126580389 treat image : temp/1741934248_2545012_1344083335_94d3f100bd72036add9015363476b3cf.jpg resize: (1080, 1632) 1344083335 -3.3126046465442536 treat image : temp/1741934248_2545012_1344083328_1f92716dcf9efc0b4438ead7815310cb.jpg resize: (1080, 1632) 1344083328 -3.6351411529489863 treat image : temp/1741934248_2545012_1344083325_25cd7039a8c2eb3bda428b8528a5b71f.jpg resize: (1080, 1632) 1344083325 -6.292865086133135 treat image : temp/1741934248_2545012_1344083321_a9327bb7c4af1c9bf2dfddcf37f636e6.jpg resize: (1080, 1632) 1344083321 -2.6453123679961914 treat image : temp/1741934248_2545012_1344083320_9e8928591c1cd3c0fa43f107c24591f4.jpg resize: (1080, 1632) 1344083320 -6.398373635639413 treat image : temp/1741934248_2545012_1344083315_d7f8afe94ddabafd168c0b58b09dab48.jpg resize: (1080, 1632) 1344083315 -4.576469445016256 treat image : temp/1741934248_2545012_1344083310_d75d535b25bfe97cdec4568ef022e753.jpg resize: (1080, 1632) 1344083310 -6.634687871346345 treat image : temp/1741934248_2545012_1344083303_45dc831eb268d0ecd603b2720f685773.jpg resize: (1080, 1632) 1344083303 -1.3847633097742678 treat image : temp/1741934248_2545012_1344083295_d3335872c2f69cf44b2ec11883161157.jpg resize: (1080, 1632) 1344083295 -3.3126046465442536 treat image : temp/1741934248_2545012_1344083292_89107d328ca8029a75dd44473e8303af.jpg resize: (1080, 1632) 1344083292 -4.946305506927997 treat image : temp/1741934248_2545012_1344083283_0a45972e84d673dba7a5a97e7960acfd.jpg resize: (1080, 1632) 1344083283 -6.292865086133135 treat image : temp/1741934248_2545012_1344083282_c59653239da1d0af4ed8e745c693dada.jpg resize: (1080, 1632) 1344083282 -5.0573195433971465 treat image : temp/1741934248_2545012_1344083279_667ca01f79dd642eae0a4ef784f9f28d.jpg resize: (1080, 1632) 1344083279 -6.370164776542003 treat image : temp/1741934248_2545012_1344083275_cb084ea1d357a351d6ddfddf7f6352cd.jpg resize: (1080, 1632) 1344083275 -6.65093120157516 treat image : temp/1741934248_2545012_1344083274_21669748eeef643209cb6a97fc94a67e.jpg resize: (1080, 1632) 1344083274 -6.765156162663103 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.013685941696166992 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.012046337127685547 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014741182327270508 save missing photos in datou_result : time spend for datou_step_exec : 15.342754602432251 time spend to save output : 0.04574894905090332 total time spend for step 1 : 15.388503551483154 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.68user 3.38system 0:19.90elapsed 90%CPU (0avgtext+0avgdata 141188maxresident)k 104inputs+11080outputs (13major+264465minor)pagefaults 0swaps