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 : 3581456 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 : 1626>100 please execute split_portfolio.py -i 21370538 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2664544'] with mtr_portfolio_ids : ['21370538'] and first list_photo_ids : [] new path : /proc/3581456/ 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.7779595851898193 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 Thu Mar 13 16: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/1741880249_3581456_1343776908_db8900e4e026ce58792f03c0b87385dc.jpg resize: (1080, 1632) 1343776908 -5.565955770661094 treat image : temp/1741880249_3581456_1343733193_95a4e871a6a9a27bea3e7b06b4689e08.jpg resize: (1080, 1632) 1343733193 -5.890160345923983 treat image : temp/1741880249_3581456_1343733187_ad0e253b6e2434cc716a3a258479b918.jpg resize: (1080, 1632) 1343733187 -2.7140411777000204 treat image : temp/1741880249_3581456_1343733142_dfef8453e095da5efb481719f63beabc.jpg resize: (1080, 1632) 1343733142 -2.209606802438155 treat image : temp/1741880249_3581456_1343733137_97e902c4cb23040baa941cdc245f236d.jpg resize: (1080, 1632) 1343733137 -6.1825828726043435 treat image : temp/1741880249_3581456_1343733131_a9b0aa53f4f59800edd6d73456d72ae0.jpg resize: (1080, 1632) 1343733131 -5.719891185338517 treat image : temp/1741880249_3581456_1343733099_2fa343e7cd45edeb852862db37129d67.jpg resize: (1080, 1632) 1343733099 -5.517467502955548 treat image : temp/1741880249_3581456_1343733095_ec565197b274dc4abab912d03abbc2db.jpg resize: (1080, 1632) 1343733095 -5.387665521547919 treat image : temp/1741880249_3581456_1343733093_67c5fc263dd3156987a7d5dcad79b1e7.jpg resize: (1080, 1632) 1343733093 -4.386197810075132 treat image : temp/1741880249_3581456_1343733091_da7d483b07a85b53c0238fbaca367949.jpg resize: (1080, 1632) 1343733091 -6.049887918244499 treat image : temp/1741880249_3581456_1343733087_ceb9063b3f009ed2cc6fde0d57b34b7a.jpg resize: (1080, 1632) 1343733087 -6.189825396967644 treat image : temp/1741880249_3581456_1343733081_355b3f54244ba929b5b044100f002ea2.jpg resize: (1080, 1632) 1343733081 -5.630660929072424 treat image : temp/1741880249_3581456_1343733040_da7de8a8e2842f58ce200562fabbccb0.jpg resize: (1080, 1632) 1343733040 -5.832660513460595 treat image : temp/1741880249_3581456_1343733037_4ab38c0c8e2849b051a14129c8246861.jpg resize: (1080, 1632) 1343733037 -6.156946997495083 treat image : temp/1741880249_3581456_1343733034_d64dcefcccad490cd881a43f4cdc85c5.jpg resize: (1080, 1632) 1343733034 -6.152837686662483 treat image : temp/1741880249_3581456_1343733031_1ec121b62dd1df7eb02ee45663f36141.jpg resize: (1080, 1632) 1343733031 -4.532994824156378 treat image : temp/1741880249_3581456_1343733028_4efae4e77eb517eaa1fa8a0dfdba3a91.jpg resize: (1080, 1632) 1343733028 -6.064984252214503 treat image : temp/1741880249_3581456_1343732989_6b47cf6af01563135cd0ece7a5d4afd4.jpg resize: (1080, 1632) 1343732989 -2.386412425116877 treat image : temp/1741880249_3581456_1343732988_993324d82fd87ae9246a4e59e8fe3e8e.jpg resize: (1080, 1632) 1343732988 -3.4580582349705487 treat image : temp/1741880249_3581456_1343732986_6d940bfe286b7b522890c8aac1ea175d.jpg resize: (1080, 1632) 1343732986 -5.164310522266135 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.015611410140991211 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.015926599502563477 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01791214942932129 save missing photos in datou_result : time spend for datou_step_exec : 16.510040521621704 time spend to save output : 0.06666254997253418 total time spend for step 1 : 16.57670307159424 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.44user 3.58system 0:22.30elapsed 85%CPU (0avgtext+0avgdata 140156maxresident)k 136inputs+10432outputs (5major+260058minor)pagefaults 0swaps