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 : 1604691 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 : 3700>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated 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/1604691/ 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.20867657661438 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 16:07: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/1751638049_1604691_1370641750_bbd2b3c657c6469a2c31858d965e2fa0.jpg resize: (1080, 1632) 1370641750 -2.6697311049192622 treat image : temp/1751638049_1604691_1370641743_caeb4d45df86cdd47f6d6e3b1d90f01e.jpg resize: (1080, 1632) 1370641743 -2.6918789238019656 treat image : temp/1751638049_1604691_1370641731_a50e4b913b3e43c9a43946a93d516e9d.jpg resize: (1080, 1632) 1370641731 -2.7144535408868453 treat image : temp/1751638049_1604691_1370641726_5e845cc7b47c39d65b43bfc15b47e7f7.jpg resize: (1080, 1632) 1370641726 -2.7075159542578286 treat image : temp/1751638049_1604691_1370641721_402f4650b30c80850c0c7dc72a0f4c3a.jpg resize: (1080, 1632) 1370641721 -2.749676937713906 treat image : temp/1751638049_1604691_1370641719_4b74f6562481b7736c3aeb65caae40ac.jpg resize: (1080, 1632) 1370641719 -2.3578568559023623 treat image : temp/1751638049_1604691_1370641704_a088a0762b9aad842e7213e48dc100e1.jpg resize: (1080, 1632) 1370641704 -2.16808130949561 treat image : temp/1751638049_1604691_1370641700_42d8732ae44b9e85f85ae289af8bf921.jpg resize: (1080, 1632) 1370641700 -2.6022287546087948 treat image : temp/1751638049_1604691_1370641697_f706fecb65e704d66577496d0f2564db.jpg resize: (1080, 1632) 1370641697 -4.432149132119092 treat image : temp/1751638049_1604691_1370641694_0fd80520452bceb482955ef926c7fb2e.jpg resize: (1080, 1632) 1370641694 -4.426875776485445 treat image : temp/1751638049_1604691_1370641691_e627b99fa7cba556d6196f8a8e5a6b6d.jpg resize: (1080, 1632) 1370641691 -5.506648340756776 treat image : temp/1751638049_1604691_1370641686_f8738baa7b46457fde3cf50cfcf77a9c.jpg resize: (1080, 1632) 1370641686 -3.9218521836679554 treat image : temp/1751638049_1604691_1370641566_da62b859dbe4523705787bc63bee301d.jpg resize: (1080, 1632) 1370641566 -4.977974964775015 treat image : temp/1751638049_1604691_1370641564_b15b57e099db458f920b76e3a4f96e99.jpg resize: (1080, 1632) 1370641564 -4.977974964775015 treat image : temp/1751638049_1604691_1370641562_d13792f4287418a9fee401a0c46e2ded.jpg resize: (1080, 1632) 1370641562 -2.7321719660889476 treat image : temp/1751638049_1604691_1370641559_dc54cdf8cd31974bd4720259a39ba7e5.jpg resize: (1080, 1632) 1370641559 -2.7321719660889476 treat image : temp/1751638049_1604691_1370641556_004150e332ae430a3ee7756691d0465c.jpg resize: (1080, 1632) 1370641556 -1.300420939059614 treat image : temp/1751638049_1604691_1370641545_c9dff85f979d35a747dac6729e0b3e9f.jpg resize: (1080, 1632) 1370641545 -1.300420939059614 treat image : temp/1751638049_1604691_1370641540_742db149837c754ea9252b07391bcc8e.jpg resize: (1080, 1632) 1370641540 -2.0892115399913203 treat image : temp/1751638049_1604691_1370641534_64e796cc81a910b05dea8617a5584c02.jpg resize: (1080, 1632) 1370641534 -2.0892115399913203 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.024224042892456055 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.02733635902404785 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.024091482162475586 save missing photos in datou_result : time spend for datou_step_exec : 15.06087613105774 time spend to save output : 0.08473467826843262 total time spend for step 1 : 15.145610809326172 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.94user 3.59system 0:20.98elapsed 83%CPU (0avgtext+0avgdata 137116maxresident)k 0inputs+7456outputs (0major+251261minor)pagefaults 0swaps