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 : 3531032 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 : 8531>100 please execute split_portfolio.py -i 25245749 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3331975'] with mtr_portfolio_ids : ['25245749'] and first list_photo_ids : [] new path : /proc/3531032/ 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.312744140625 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 Jul 31 21:07: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/1753988848_3531032_1374648751_e89ec39e8f179c5d9906733b089e0851.jpg resize: (1080, 1632) 1374648751 -4.802402017450457 treat image : temp/1753988848_3531032_1374648747_d69cc56cbd0af1a65cabd4b2976b097a.jpg resize: (1080, 1632) 1374648747 -3.5641498421332205 treat image : temp/1753988848_3531032_1374648745_b975c8784fe7fdfb129a53243a1788aa.jpg resize: (1080, 1632) 1374648745 -5.624484675830913 treat image : temp/1753988848_3531032_1374648744_ed50355ad890755628231c9beafdc67e.jpg resize: (1080, 1632) 1374648744 -4.8644792506515895 treat image : temp/1753988848_3531032_1374648742_6070a8106c970c57e3c2c18969f45279.jpg resize: (1080, 1632) 1374648742 -3.7589388732048827 treat image : temp/1753988848_3531032_1374648741_ff7ebae826fe127911d12b1f62df7816.jpg resize: (1080, 1632) 1374648741 -1.5062156235478639 treat image : temp/1753988848_3531032_1374648740_2315d0008f8c70cc235b376d1ae55b08.jpg resize: (1080, 1632) 1374648740 -1.4598787086068288 treat image : temp/1753988848_3531032_1374648738_e2f5d24d9061036fecfbf67e0c68d51b.jpg resize: (1080, 1632) 1374648738 -4.370781660530336 treat image : temp/1753988848_3531032_1374648736_435fa9475c47dec0056be384c1f96fb7.jpg resize: (1080, 1632) 1374648736 -5.185419876966654 treat image : temp/1753988848_3531032_1374648731_66c9f359903b6f2e643bf9ff0ea439a4.jpg resize: (1080, 1632) 1374648731 -3.2441327847866064 treat image : temp/1753988848_3531032_1374648728_ae8f28dd5d975378fc228a665ca59b88.jpg resize: (1080, 1632) 1374648728 -2.9641617924854926 treat image : temp/1753988848_3531032_1374648724_98af2cade1362f0e7b5f253e4757b370.jpg resize: (1080, 1632) 1374648724 -1.3294587258953616 treat image : temp/1753988848_3531032_1374648717_599ae53ff3fca59a96ac4f642ddbc9f9.jpg resize: (1080, 1632) 1374648717 -4.2352755199884555 treat image : temp/1753988848_3531032_1374648713_d5d93276a8cb667c2f141ed07407ff3b.jpg resize: (1080, 1632) 1374648713 -4.318405550046829 treat image : temp/1753988848_3531032_1374648712_bc163888c2c539217e6bcb54c895329b.jpg resize: (1080, 1632) 1374648712 -4.946304319750938 treat image : temp/1753988848_3531032_1374648711_15684b55fff99523051b461fade1d813.jpg resize: (1080, 1632) 1374648711 -5.1942794491627895 treat image : temp/1753988848_3531032_1374648710_d4d230da8ada146827cb9d045944a482.jpg resize: (1080, 1632) 1374648710 -4.863245507550298 treat image : temp/1753988848_3531032_1374648709_0be05880589e736e0e1dda540ebccca7.jpg resize: (1080, 1632) 1374648709 -5.862696846986692 treat image : temp/1753988848_3531032_1374648690_2f801e6862a40db47e0284add8f42f77.jpg resize: (1080, 1632) 1374648690 -5.134600462049538 treat image : temp/1753988848_3531032_1374648688_d938769ae88030a8adccb7f75ff5887a.jpg resize: (1080, 1632) 1374648688 -5.884895473771873 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.013790607452392578 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.011823415756225586 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014956474304199219 save missing photos in datou_result : time spend for datou_step_exec : 14.995293855667114 time spend to save output : 0.045835256576538086 total time spend for step 1 : 15.041129112243652 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.20user 3.59system 0:20.10elapsed 88%CPU (0avgtext+0avgdata 138268maxresident)k 8inputs+8768outputs (3major+203812minor)pagefaults 0swaps