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 : 1470374 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 : 193>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/1470374/ 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.2196462154388428 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:52: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/1747194748_1470374_1358093925_900caac67ad99a97fbb8639ce7a90756.jpg resize: (1080, 1632) 1358093925 -2.4481668632762035 treat image : temp/1747194748_1470374_1358093924_0c735e5d78e6e4603112512a8d7ce224.jpg resize: (1080, 1632) 1358093924 -2.5836163748238583 treat image : temp/1747194748_1470374_1358093921_e3f0cd5eb0b10e7b8728cbf1c576184b.jpg resize: (1080, 1632) 1358093921 -5.6568064900616655 treat image : temp/1747194748_1470374_1358093919_19ae7e862d2dabefcb51b953b3b594e8.jpg resize: (1080, 1632) 1358093919 -5.490588725122465 treat image : temp/1747194748_1470374_1358093893_912c82238ffa6ddb39bfb8d9adbcb21d.jpg resize: (1080, 1632) 1358093893 -4.570361666260694 treat image : temp/1747194748_1470374_1358093887_f19036157dc99a6f267ec20eee29a409.jpg resize: (1080, 1632) 1358093887 -4.541126960877453 treat image : temp/1747194748_1470374_1358093879_d2b4ee35ca908e158fbe7f5c89481d1b.jpg resize: (1080, 1632) 1358093879 -5.536664010241606 treat image : temp/1747194748_1470374_1358093877_b54485a9b650f242e4e787f41eeed0cc.jpg resize: (1080, 1632) 1358093877 -5.048196617134566 treat image : temp/1747194748_1470374_1358093875_7bd187e1dfd6ddc5f461e8500a6dbefe.jpg resize: (1080, 1632) 1358093875 -4.098973339004879 treat image : temp/1747194748_1470374_1358093872_ddb456db4e79cda36c11da18d4d33a48.jpg resize: (1080, 1632) 1358093872 -1.005127292108903 treat image : temp/1747194748_1470374_1358093854_89ecffb5af8bd4cc68a276b788356ef0.jpg resize: (1080, 1632) 1358093854 -2.3463006790461027 treat image : temp/1747194748_1470374_1358093850_8ea897d640d400c2e86b485f8e52d395.jpg resize: (1080, 1632) 1358093850 -4.980444637711191 treat image : temp/1747194748_1470374_1358093848_e65bbe460cd182f807016d946453e059.jpg resize: (1080, 1632) 1358093848 -5.880895915116829 treat image : temp/1747194748_1470374_1358093845_d2eaad777da14e4bd14d3e8c1ab29220.jpg resize: (1080, 1632) 1358093845 -4.374502074872044 treat image : temp/1747194748_1470374_1358093843_3271d2c19a88d273270f195aed50438e.jpg resize: (1080, 1632) 1358093843 -2.8121593145337127 treat image : temp/1747194748_1470374_1358093841_d70f6d02a6b0bcda69f7e6efb5d12928.jpg resize: (1080, 1632) 1358093841 -4.812187046018008 treat image : temp/1747194748_1470374_1358093812_c5aa14aa57cebd20a18633690fb20661.jpg resize: (1080, 1632) 1358093812 -5.9902332519596335 treat image : temp/1747194748_1470374_1358093809_847ad23158d7e5b18753b4f40a3597dc.jpg resize: (1080, 1632) 1358093809 -6.017559793152684 treat image : temp/1747194748_1470374_1358093806_e1c2f8f01ff19fe35db9d2f4706c8469.jpg resize: (1080, 1632) 1358093806 -1.1390223710644345 treat image : temp/1747194748_1470374_1358093803_381a0530c4e8f4df202da4c37fb524af.jpg resize: (1080, 1632) 1358093803 -1.7154138484627848 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.013686180114746094 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.5329282283782959 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.06307435035705566 save missing photos in datou_result : time spend for datou_step_exec : 17.048970937728882 time spend to save output : 0.6153559684753418 total time spend for step 1 : 17.664326906204224 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.07user 4.53system 0:22.81elapsed 85%CPU (0avgtext+0avgdata 140280maxresident)k 2392inputs+8784outputs (13major+259552minor)pagefaults 0swaps