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 : 3188805 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 : 7644>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/3188805/ 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.2965247631073 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 Sat Jul 5 05:47:28 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/1751687246_3188805_1370740192_760006e784b3052be20a93c4cdb7274a.jpg resize: (1080, 1632) 1370740192 -5.111421343521215 treat image : temp/1751687246_3188805_1370740189_d8496a773a5dfa8e66286d43c94e8bea.jpg resize: (1080, 1632) 1370740189 -2.851936814428785 treat image : temp/1751687246_3188805_1370740186_5e26b94b71d4be0aaddb6296798f2065.jpg resize: (1080, 1632) 1370740186 -5.276568662971948 treat image : temp/1751687246_3188805_1370740180_1d995ded8bd36e9e6c560edfe2566770.jpg resize: (1080, 1632) 1370740180 -5.082468217604197 treat image : temp/1751687246_3188805_1370740179_a98a433c8b18545b58603bdbcedbd8d6.jpg resize: (1080, 1632) 1370740179 -5.1114023728917575 treat image : temp/1751687246_3188805_1370740176_11ce45231686ee27bc21f40a49fb1be8.jpg resize: (1080, 1632) 1370740176 -4.330216660620076 treat image : temp/1751687246_3188805_1370740169_4ccab69154c4a29b6f0f25c61dca3883.jpg resize: (1080, 1632) 1370740169 -4.8169425551867535 treat image : temp/1751687246_3188805_1370740163_cb4a030431dd7b950cabe417f150c89b.jpg resize: (1080, 1632) 1370740163 -4.855680741346575 treat image : temp/1751687246_3188805_1370740151_f338534f9cdd7258455b3fb06fed7732.jpg resize: (1080, 1632) 1370740151 -4.830566625141745 treat image : temp/1751687246_3188805_1370740141_8c8a147f4fb429ad1146df36532ab4d2.jpg resize: (1080, 1632) 1370740141 -4.248025523462959 treat image : temp/1751687246_3188805_1370740138_a869443de72cb266b0c3acb8a0714102.jpg resize: (1080, 1632) 1370740138 -5.125168009875253 treat image : temp/1751687246_3188805_1370740135_0f208c88ea6601eeb16092c73d537f1d.jpg resize: (1080, 1632) 1370740135 -5.125716367740575 treat image : temp/1751687246_3188805_1370740132_f51c2143e10ba5460b1602582920a51e.jpg resize: (1080, 1632) 1370740132 -5.092609943071412 treat image : temp/1751687246_3188805_1370740126_dce299cca639783a4e977eb3976c2e4c.jpg resize: (1080, 1632) 1370740126 -5.352777274984295 treat image : temp/1751687246_3188805_1370740117_5716e942c90630fbf2891033e7c63dae.jpg resize: (1080, 1632) 1370740117 -5.336235135862409 treat image : temp/1751687246_3188805_1370740098_7b30d8f519a5959fba6c56acd28e47f6.jpg resize: (1080, 1632) 1370740098 -0.17677706412345415 treat image : temp/1751687246_3188805_1370740095_795a0d3379b4527d8501588ff1a3e3fa.jpg resize: (1080, 1632) 1370740095 -1.7143509830984769 treat image : temp/1751687246_3188805_1370740089_53724869d4ce20f5f859debe449c8d24.jpg resize: (1080, 1632) 1370740089 -3.0127784923386143 treat image : temp/1751687246_3188805_1370729975_abf9f3885c3b9fa88fe698fd4f2d82db.jpg resize: (1080, 1632) 1370729975 -5.646595690934123 treat image : temp/1751687246_3188805_1370729968_692960f4529ffef798f2506fe3254d74.jpg resize: (1080, 1632) 1370729968 -5.671631426489657 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.012588262557983398 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.04745841026306152 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.04831647872924805 save missing photos in datou_result : time spend for datou_step_exec : 16.379369020462036 time spend to save output : 0.1135869026184082 total time spend for step 1 : 16.492955923080444 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.88user 4.46system 0:20.68elapsed 93%CPU (0avgtext+0avgdata 139232maxresident)k 4360inputs+9000outputs (34major+249685minor)pagefaults 0swaps