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 : 633017 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 list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/633017/ 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.2946155071258545 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 Jul 4 08:32: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/1751610748_633017_1370495131_4f4f775cd359806d5d4a35533c0aeb03.jpg resize: (1080, 1632) 1370495131 -1.2750174968000278 treat image : temp/1751610748_633017_1370495129_910a85cf940f96962dfb7cb5aaadfaad.jpg resize: (1080, 1632) 1370495129 -1.4585704890286502 treat image : temp/1751610748_633017_1370495119_2419e9e07193590fe3e0894785852852.jpg resize: (1080, 1632) 1370495119 -4.932490926969081 treat image : temp/1751610748_633017_1370495116_5ed5472dc933a42ae9adc5a093efa180.jpg resize: (1080, 1632) 1370495116 -4.359972661671341 treat image : temp/1751610748_633017_1370495111_d8884aa239eeaa42aa6cebe7cad966ef.jpg resize: (1080, 1632) 1370495111 -4.755026403731579 treat image : temp/1751610748_633017_1370495108_254bb84182bfcccdd6631d890ac4ae97.jpg resize: (1080, 1632) 1370495108 -4.258785246962832 treat image : temp/1751610748_633017_1370495091_7beab894d5d3c6030f44dae5035e359c.jpg resize: (1080, 1632) 1370495091 -5.0496677203912705 treat image : temp/1751610748_633017_1370495088_f56963fcdccacc75512297054d4f64f2.jpg resize: (1080, 1632) 1370495088 -5.019446875801239 treat image : temp/1751610748_633017_1370495084_de7b7a920149fc0dc1cc26bd9f3868a5.jpg resize: (1080, 1632) 1370495084 -5.015020499436513 treat image : temp/1751610748_633017_1370495072_c9d5a900f840bc9137c8b316aa04405c.jpg resize: (1080, 1632) 1370495072 -5.013839860107663 treat image : temp/1751610748_633017_1370495066_48234610d526e4d85943522e9f0f08b9.jpg resize: (1080, 1632) 1370495066 -5.032816682162786 treat image : temp/1751610748_633017_1370495053_7d2164f27d8fbba804c6323f5b0f41de.jpg resize: (1080, 1632) 1370495053 -5.056354848860734 treat image : temp/1751610748_633017_1370495033_dccff1c6da98d00e674d4fc15a24d2c0.jpg resize: (1080, 1632) 1370495033 -5.013922279381076 treat image : temp/1751610748_633017_1370495027_2e14a625e44522cd0479bf85ccf99ee0.jpg resize: (1080, 1632) 1370495027 -5.035853210637453 treat image : temp/1751610748_633017_1370495024_cbf386bb7c785bfa3cd133d65eaac328.jpg resize: (1080, 1632) 1370495024 -5.062172994128168 treat image : temp/1751610748_633017_1370495017_a64273a8837048db891ba681b721d964.jpg resize: (1080, 1632) 1370495017 -5.0375118396684035 treat image : temp/1751610748_633017_1370495010_ec3f609c015ce6e023466c4c494ddfde.jpg resize: (1080, 1632) 1370495010 -5.027865958226504 treat image : temp/1751610748_633017_1370495000_025b0c20c4674645e2ecdf912b864290.jpg resize: (1080, 1632) 1370495000 -5.042178463101427 treat image : temp/1751610748_633017_1370494993_d06149c98e8bfc1d50ec587114102e31.jpg resize: (1080, 1632) 1370494993 -4.2490312823841805 treat image : temp/1751610748_633017_1370494992_8826e90a1f80c2e89759612304bd4607.jpg resize: (1080, 1632) 1370494992 -5.600403949856872 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.013782262802124023 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.011874198913574219 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.09899616241455078 save missing photos in datou_result : time spend for datou_step_exec : 14.575371742248535 time spend to save output : 0.12979412078857422 total time spend for step 1 : 14.70516586303711 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.77user 2.97system 0:19.05elapsed 87%CPU (0avgtext+0avgdata 139124maxresident)k 128inputs+8888outputs (13major+263627minor)pagefaults 0swaps