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 : 103436 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 : 6384>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/103436/ 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.1987898349761963 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 9 23:37:31 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/1752097049_103436_1371449404_50384d8a351db99b9baee38979cad9db.jpg resize: (1080, 1632) 1371449404 -3.9625083294706567 treat image : temp/1752097049_103436_1371449402_51101d203b3ed1a6c407829ec59b88af.jpg resize: (1080, 1632) 1371449402 -1.7082831310028597 treat image : temp/1752097049_103436_1371449401_3e2312df6bb3a30727aa69f1f20117b8.jpg resize: (1080, 1632) 1371449401 -3.0226796779425804 treat image : temp/1752097049_103436_1371449399_8b9f08e58d50f0d2519437cdeb746059.jpg resize: (1080, 1632) 1371449399 -3.026391638343066 treat image : temp/1752097049_103436_1371449394_8904da777db265a217939e74a37cca01.jpg resize: (1080, 1632) 1371449394 -3.380172835357072 treat image : temp/1752097049_103436_1371449385_06af82e53ffeb39dc46a3ec7afe7bb6f.jpg resize: (1080, 1632) 1371449385 -1.013758295978848 treat image : temp/1752097049_103436_1371449378_1dd606477b1c70ed65e107638aa44faf.jpg resize: (1080, 1632) 1371449378 -5.232849059436433 treat image : temp/1752097049_103436_1371449377_f5d1cbcdff39abfdfc04dcddb9e34655.jpg resize: (1080, 1632) 1371449377 -4.400415877432103 treat image : temp/1752097049_103436_1371449375_6705e49abc3bc5fcc330a4a737b8a850.jpg resize: (1080, 1632) 1371449375 -4.403513773661004 treat image : temp/1752097049_103436_1371449374_1842d195c7b5209914af805c084279da.jpg resize: (1080, 1632) 1371449374 -4.4352400710849 treat image : temp/1752097049_103436_1371449373_05e307a8b99ce2c1c254ee4fef508797.jpg resize: (1080, 1632) 1371449373 -4.426002866249597 treat image : temp/1752097049_103436_1371449372_0ce38459caf80dbd526703f8f1c10a77.jpg resize: (1080, 1632) 1371449372 -4.363523110554874 treat image : temp/1752097049_103436_1371449294_943b6716e4b05992b6af73c305373e82.jpg resize: (1080, 1632) 1371449294 -4.914260307469211 treat image : temp/1752097049_103436_1371449292_33b0b5e42fad74fbe86816bd71c4f12c.jpg resize: (1080, 1632) 1371449292 -4.907139584059005 treat image : temp/1752097049_103436_1371449290_1dcb07d2a7dcfe4e6f65e2a891d0a14e.jpg resize: (1080, 1632) 1371449290 -3.5629777553387623 treat image : temp/1752097049_103436_1371449285_e50f556ea4323bd4219c77ca36cb462d.jpg resize: (1080, 1632) 1371449285 -4.345250668728301 treat image : temp/1752097049_103436_1371449274_b1ae979a45922e940a8ed4cf4a608e67.jpg resize: (1080, 1632) 1371449274 -2.7470995375218075 treat image : temp/1752097049_103436_1371449270_8ff056da171b9633c4f6e3fa43c7419a.jpg resize: (1080, 1632) 1371449270 -3.069878582510301 treat image : temp/1752097049_103436_1371449265_5039f4dfd42d0b989e394fdbab013908.jpg resize: (1080, 1632) 1371449265 -4.035615454040659 treat image : temp/1752097049_103436_1371449263_6ac8186199c29fb635320866e926a9b7.jpg resize: (1080, 1632) 1371449263 -1.1512531680992157 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.015343666076660156 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.014810323715209961 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017081022262573242 save missing photos in datou_result : time spend for datou_step_exec : 15.494559526443481 time spend to save output : 0.05265951156616211 total time spend for step 1 : 15.547219038009644 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.17user 4.44system 0:21.38elapsed 87%CPU (0avgtext+0avgdata 139156maxresident)k 96inputs+7976outputs (8major+254198minor)pagefaults 0swaps