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 : 2266578 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 : 2287>100 please execute split_portfolio.py -i 21962613 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2714916'] with mtr_portfolio_ids : ['21962613'] and first list_photo_ids : [] new path : /proc/2266578/ 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.3445732593536377 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 Apr 2 16:22: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/1743603747_2266578_1349507136_7180b1b2c761aa48c832fbb398bd0328.jpg resize: (1080, 1632) 1349507136 -0.9266192183576542 treat image : temp/1743603747_2266578_1349507129_1bc0d3c67508617cb1dadc7f5277f367.jpg resize: (1080, 1632) 1349507129 -2.6207630239355173 treat image : temp/1743603747_2266578_1349507118_24d7979611b01120cfd29a2c4b602541.jpg resize: (1080, 1632) 1349507118 -4.485988560136442 treat image : temp/1743603747_2266578_1349500176_3baab7bbb0ba192344994ae57eb4ddf6.jpg resize: (1080, 1632) 1349500176 -4.4730278463915925 treat image : temp/1743603747_2266578_1349500143_bf7376e9d76ffd955a85b77cd75f27a3.jpg resize: (1080, 1632) 1349500143 -5.037060451439809 treat image : temp/1743603747_2266578_1349500139_5a16c4c5d2ea01e4727d8fe0e3e7c49e.jpg resize: (1080, 1632) 1349500139 -4.9495086641964985 treat image : temp/1743603747_2266578_1349500134_00bb360cf6320a1d37142b2e9eec85fb.jpg resize: (1080, 1632) 1349500134 -5.1606680199061215 treat image : temp/1743603747_2266578_1349500129_8d3f904e0f995f591621f9a7c2b0226d.jpg resize: (1080, 1632) 1349500129 -5.456399592408995 treat image : temp/1743603747_2266578_1349500124_49e2465ef39617df0e1180103e595dc0.jpg resize: (1080, 1632) 1349500124 -4.710316727498844 treat image : temp/1743603747_2266578_1349500090_77b063b0875f027fdc9e892d3ebfc032.jpg resize: (1080, 1632) 1349500090 -5.197116637246232 treat image : temp/1743603747_2266578_1349500086_a088fa760fe01de10b53995f9e9008e7.jpg resize: (1080, 1632) 1349500086 -1.9810206048788073 treat image : temp/1743603747_2266578_1349500082_aa0f7f5b4c354c197ab697e770472696.jpg resize: (1080, 1632) 1349500082 -1.1590535029805002 treat image : temp/1743603747_2266578_1349500080_969e5231b7ebfeecbbeba01c1a9a93c4.jpg resize: (1080, 1632) 1349500080 -1.9186842488306715 treat image : temp/1743603747_2266578_1349500058_8eb3d8e957f7b406ed2167205e799dc5.jpg resize: (1080, 1632) 1349500058 -4.989108609144269 treat image : temp/1743603747_2266578_1349500054_8f6c5a24d917d853f34f1c55b9e8d882.jpg resize: (1080, 1632) 1349500054 -6.037703868638261 treat image : temp/1743603747_2266578_1349500047_2dfedd561348cb2fb8f352be140acdb6.jpg resize: (1080, 1632) 1349500047 -5.29276594403082 treat image : temp/1743603747_2266578_1349500041_3e8aaa6e1cbafeb3408a6f580d4b2911.jpg resize: (1080, 1632) 1349500041 -4.812323143425682 treat image : temp/1743603747_2266578_1349500036_a2197e75d9ba9cec1697c1d5154bcf2a.jpg resize: (1080, 1632) 1349500036 -4.517102581129567 treat image : temp/1743603747_2266578_1349500032_287a1f0cec50c4644e661d830934bb74.jpg resize: (1080, 1632) 1349500032 -5.103062170798316 treat image : temp/1743603747_2266578_1349500012_f486e6396616f9849f417abf2be7d50c.jpg resize: (1080, 1632) 1349500012 -2.7113771692641304 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 : 5.515514373779297 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.016961097717285156 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01695084571838379 save missing photos in datou_result : time spend for datou_step_exec : 15.4402174949646 time spend to save output : 5.554734706878662 total time spend for step 1 : 20.99495220184326 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.77user 3.20system 0:25.34elapsed 70%CPU (0avgtext+0avgdata 138660maxresident)k 88inputs+8584outputs (5major+214156minor)pagefaults 0swaps