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 : 1489797 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 : 3504>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/1489797/ 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.291717529296875 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 Wed Jul 2 17:47: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/1751471248_1489797_1369984360_fb15acd1164f01268e4314ccab5888d0.jpg resize: (1080, 1632) 1369984360 -2.1090895964798633 treat image : temp/1751471248_1489797_1369984305_3254bda4edaf2f854ade3e9a4c9813f0.jpg resize: (1080, 1632) 1369984305 -2.1043851117703873 treat image : temp/1751471248_1489797_1369984273_6708ce947ba7dde000d6710df5aba856.jpg resize: (1080, 1632) 1369984273 -2.1327340244045967 treat image : temp/1751471248_1489797_1369984239_08fd9b1089f9aaf912460281f6201274.jpg resize: (1080, 1632) 1369984239 -2.11958702435721 treat image : temp/1751471248_1489797_1369984204_5aa360613a34b28b355c486cd1059bda.jpg resize: (1080, 1632) 1369984204 -2.116601448927556 treat image : temp/1751471248_1489797_1369984182_123c5e555c375a86bdfe9932b5ce1dae.jpg resize: (1080, 1632) 1369984182 -2.106977351019382 treat image : temp/1751471248_1489797_1369984168_f25a53f95d7d760863033782ee30b69b.jpg resize: (1080, 1632) 1369984168 -2.0667920879415753 treat image : temp/1751471248_1489797_1369984119_86e815c32c41240e437c2ae76934c2ca.jpg resize: (1080, 1632) 1369984119 -2.0977674737326693 treat image : temp/1751471248_1489797_1369984051_9bc59be41c05c0726731c6016407815d.jpg resize: (1080, 1632) 1369984051 -2.0816270127509333 treat image : temp/1751471248_1489797_1369983982_ffba1459c6287085905d64e4b12142e3.jpg resize: (1080, 1632) 1369983982 -2.0934257790415978 treat image : temp/1751471248_1489797_1369983912_7609a0dc52f0e40d36e7c97fbb865b51.jpg resize: (1080, 1632) 1369983912 -2.09971387255207 treat image : temp/1751471248_1489797_1369983844_563aef594e982c486d0dbac78f52b36e.jpg resize: (1080, 1632) 1369983844 -2.1195704498652934 treat image : temp/1751471248_1489797_1369982599_2ef67c3bd6a9675f34cdec65c200d83e.jpg resize: (1080, 1632) 1369982599 -1.9824256535053544 treat image : temp/1751471248_1489797_1369982528_c046e892c4a2989079e549617b58067e.jpg resize: (1080, 1632) 1369982528 -1.9816563515363907 treat image : temp/1751471248_1489797_1369982460_2806b357224a49031ae8968487f5c3cd.jpg resize: (1080, 1632) 1369982460 -1.9708303785815773 treat image : temp/1751471248_1489797_1369982399_72145313f533767340c70bbe4b12d0f1.jpg resize: (1080, 1632) 1369982399 -2.020509779468351 treat image : temp/1751471248_1489797_1369980283_6fc457eb182fb6c39455c2b1d4584422.jpg resize: (1080, 1632) 1369980283 -2.094426447414491 treat image : temp/1751471248_1489797_1369980247_975cf4477da32c446c6fe404a8dbfa91.jpg resize: (1080, 1632) 1369980247 -2.1201635467114697 treat image : temp/1751471248_1489797_1369980212_5405a6a53ba2642740dce3c445ad2188.jpg resize: (1080, 1632) 1369980212 -2.1076579538323643 treat image : temp/1751471248_1489797_1369980173_463f5f81a930bda57f3a2e1a3fc5674a.jpg resize: (1080, 1632) 1369980173 -2.119541399294459 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.012896299362182617 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.01581287384033203 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017546415328979492 save missing photos in datou_result : time spend for datou_step_exec : 16.860640287399292 time spend to save output : 0.05123257637023926 total time spend for step 1 : 16.91187286376953 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.13user 4.73system 0:22.82elapsed 87%CPU (0avgtext+0avgdata 137124maxresident)k 160inputs+6584outputs (1major+259492minor)pagefaults 0swaps