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 : 1434807 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 : 112>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/1434807/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 2.0848476886749268 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 May 14 05: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/1747193849_1434807_1358093436_959933bc560cc71c7a9e072ec3200e0a.jpg resize: (1080, 1632) 1358093436 -2.2181417687666523 treat image : temp/1747193849_1434807_1358093433_cc6ce5f944dc4a82712dddac35af6f4b.jpg resize: (1080, 1632) 1358093433 -0.36047388908302463 treat image : temp/1747193849_1434807_1358093432_67141c45dff0ae43e8beb7c651536eab.jpg resize: (1080, 1632) 1358093432 -2.119566777255676 treat image : temp/1747193849_1434807_1358093430_99976d6d1f3f11e7d60991e957ba36c4.jpg resize: (1080, 1632) 1358093430 -3.4766356098883837 treat image : temp/1747193849_1434807_1358093427_1019aeea6e4020401b53f9c1870c6deb.jpg resize: (1080, 1632) 1358093427 -5.5971315732248454 treat image : temp/1747193849_1434807_1358093403_b448b5712e63eb51e9a96efeb42db6e7.jpg resize: (1080, 1632) 1358093403 -5.026305647297673 treat image : temp/1747193849_1434807_1358093401_a6ceace4548f2f8abf904a76d74e1d7e.jpg resize: (1080, 1632) 1358093401 -4.7651040796487845 treat image : temp/1747193849_1434807_1358093400_b23fcb550bbf8aa16a3521da4bfd6baf.jpg resize: (1080, 1632) 1358093400 -4.97106202101346 treat image : temp/1747193849_1434807_1358093399_740a4adc80c1e72959d174eeeae69230.jpg resize: (1080, 1632) 1358093399 -2.952251980380896 treat image : temp/1747193849_1434807_1358093398_cd7ba80cd1933d97052d54ee72a48032.jpg resize: (1080, 1632) 1358093398 -5.594999197956349 treat image : temp/1747193849_1434807_1358093396_42e1ec4c9841b476e0e0435166d0305e.jpg resize: (1080, 1632) 1358093396 -4.569341575313781 treat image : temp/1747193849_1434807_1358093373_1ca82b32dda3257bb86cbd9b310105f7.jpg resize: (1080, 1632) 1358093373 -3.8211791542591813 treat image : temp/1747193849_1434807_1358093371_857ee995167fc7332ff90dbe9bf32e1e.jpg resize: (1080, 1632) 1358093371 -4.301058188150006 treat image : temp/1747193849_1434807_1358093370_44cd89a01da78e4211ef2114b7d4e739.jpg resize: (1080, 1632) 1358093370 -3.848925871034767 treat image : temp/1747193849_1434807_1358093369_ae73152ee4315ffd36f448c4c68975dc.jpg resize: (1080, 1632) 1358093369 -5.078840136113788 treat image : temp/1747193849_1434807_1358093368_44c18b120a7eff5ff9184f866bf423ac.jpg resize: (1080, 1632) 1358093368 -2.456690180527233 treat image : temp/1747193849_1434807_1358093366_50389ba4dc836b3cf2a8c7ba7d7e6c47.jpg resize: (1080, 1632) 1358093366 -5.303954480903251 treat image : temp/1747193849_1434807_1358093343_8567a7a9959e61aa151ff09537652502.jpg resize: (1080, 1632) 1358093343 -2.801505738508757 treat image : temp/1747193849_1434807_1358093342_3d0c0383213f7768ed906052874accc3.jpg resize: (1080, 1632) 1358093342 -1.0125591928473399 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 : 19 time used for this insertion : 0.01371145248413086 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 19 time used for this insertion : 0.5420153141021729 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.7239370346069336 save missing photos in datou_result : time spend for datou_step_exec : 15.4141526222229 time spend to save output : 1.2840235233306885 total time spend for step 1 : 16.69817614555359 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 19 set_done_treatment 13.97user 3.74system 0:22.72elapsed 77%CPU (0avgtext+0avgdata 140652maxresident)k 128inputs+7712outputs (24major+251703minor)pagefaults 0swaps