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 : 1925373 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/1925373/ 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 : 3.3669941425323486 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 18 00:12:32 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/1752790349_1925373_1372331369_8b764037e403c8794bb01fee20d1eba5.jpg resize: (1080, 1632) 1372331369 -1.8959343054759241 treat image : temp/1752790349_1925373_1372331367_b4df6af1b491b24dcc6994246b39a994.jpg resize: (1080, 1632) 1372331367 -3.1318399867281843 treat image : temp/1752790349_1925373_1372331366_c82b705ba681a047152342e492f75f2f.jpg resize: (1080, 1632) 1372331366 -3.1187916925620773 treat image : temp/1752790349_1925373_1372331364_2ae9919182ed8887111bf2d7dcd29acb.jpg resize: (1080, 1632) 1372331364 -3.1667887849722187 treat image : temp/1752790349_1925373_1372331363_78485723dba863b40645ee9ade4200bb.jpg resize: (1080, 1632) 1372331363 -1.9372776766823185 treat image : temp/1752790349_1925373_1372331350_98210b126ff6d56c4ed46a0592ea8363.jpg resize: (1080, 1632) 1372331350 -5.058418012650491 treat image : temp/1752790349_1925373_1372331347_d8511516df456d05291a16f72349c3ee.jpg resize: (1080, 1632) 1372331347 -4.124708924027895 treat image : temp/1752790349_1925373_1372331344_b7c10cc6739605d103619bbde5c02d8e.jpg resize: (1080, 1632) 1372331344 -4.355104287110074 treat image : temp/1752790349_1925373_1372331342_7c256032f323bd66883d0cf249510ba4.jpg resize: (1080, 1632) 1372331342 -4.351583700041536 treat image : temp/1752790349_1925373_1372331339_4d368b37b5be340e18672fac93a97df7.jpg resize: (1080, 1632) 1372331339 -4.374192216925077 treat image : temp/1752790349_1925373_1372331336_752f5413456e373e9d0dabd1d3e5dbf8.jpg resize: (1080, 1632) 1372331336 -4.345219599742192 treat image : temp/1752790349_1925373_1372331319_2bfdddbca296512294cf8a005042ff48.jpg resize: (1080, 1632) 1372331319 -4.466889470639624 treat image : temp/1752790349_1925373_1372331313_0429c297eaa0faea8fe2e7cf58f3518a.jpg resize: (1080, 1632) 1372331313 -4.449103931989884 treat image : temp/1752790349_1925373_1372331310_c2c28a58473e35ab33c38f247163de78.jpg resize: (1080, 1632) 1372331310 -4.455924190424856 treat image : temp/1752790349_1925373_1372331309_999849401a235020a55ee5a35c95b2d4.jpg resize: (1080, 1632) 1372331309 -4.462374231926288 treat image : temp/1752790349_1925373_1372331307_480cac3b947fa056f240c9e970601dbb.jpg resize: (1080, 1632) 1372331307 -5.059643682732719 treat image : temp/1752790349_1925373_1372331305_93efb389289c8aae5cf21bd74e78e039.jpg resize: (1080, 1632) 1372331305 -5.05939135772461 treat image : temp/1752790349_1925373_1372331286_51678662851b69469f99a9c914e748fe.jpg resize: (1080, 1632) 1372331286 -4.382616992108151 treat image : temp/1752790349_1925373_1372331284_9f0985800bc3c891953914c1ba115d6f.jpg resize: (1080, 1632) 1372331284 -3.45395788280406 treat image : temp/1752790349_1925373_1372331283_38288c0aaf99de63d7c0d5c664c7a7af.jpg resize: (1080, 1632) 1372331283 -4.5409095945736295 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.012788772583007812 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.04286050796508789 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.04914283752441406 save missing photos in datou_result : time spend for datou_step_exec : 16.167479276657104 time spend to save output : 0.10919713973999023 total time spend for step 1 : 16.276676416397095 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.31user 4.44system 0:23.47elapsed 79%CPU (0avgtext+0avgdata 138652maxresident)k 136inputs+8192outputs (10major+251809minor)pagefaults 0swaps