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 : 4030382 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 : 3323>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/4030382/ 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.419724464416504 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 Thu Jul 17 09:57: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/1752739048_4030382_1372379861_e00e632d088c866f6c67cf9b9585d5ff.jpg resize: (1080, 1632) 1372379861 -2.2712725759710115 treat image : temp/1752739048_4030382_1372379859_79a8d6710c83d6677570986667b48ced.jpg resize: (1080, 1632) 1372379859 -2.8686023801932854 treat image : temp/1752739048_4030382_1372379858_9941f9182d21f785a46584dbae7e7f38.jpg resize: (1080, 1632) 1372379858 -2.843335438810816 treat image : temp/1752739048_4030382_1372379856_4dedd21e505d006386cdb3016953ea9e.jpg resize: (1080, 1632) 1372379856 -2.801365995862317 treat image : temp/1752739048_4030382_1372379853_5d3607d40f7fd6205bb271ab6d36a038.jpg resize: (1080, 1632) 1372379853 -2.7781165181211627 treat image : temp/1752739048_4030382_1372379850_19e4b8b65c2bdbaad17c478223c58976.jpg resize: (1080, 1632) 1372379850 -2.803689628125004 treat image : temp/1752739048_4030382_1372349586_4cc123086aee246b4c01ab16aca64d4b.jpg resize: (1080, 1632) 1372349586 -4.0556003683103325 treat image : temp/1752739048_4030382_1372349583_7bb33120ca53392e8acb55e7d8e455c0.jpg resize: (1080, 1632) 1372349583 -4.05107254630444 treat image : temp/1752739048_4030382_1372349580_a2c36a3ee5b7c089db7ce16ddf1198fa.jpg resize: (1080, 1632) 1372349580 -3.396606444161377 treat image : temp/1752739048_4030382_1372349575_f29cb144d956c47317f734b196ee279e.jpg resize: (1080, 1632) 1372349575 -5.075310505896466 treat image : temp/1752739048_4030382_1372349551_123aeffe5d4ab4b56a6bfb121e37db95.jpg resize: (1080, 1632) 1372349551 -1.155184837366432 treat image : temp/1752739048_4030382_1372349548_787c02b0e0ed52e92b2647e8bdfc3d72.jpg resize: (1080, 1632) 1372349548 -2.0496633672992846 treat image : temp/1752739048_4030382_1372349544_f3c71b3420659290ee957e533c318fb9.jpg resize: (1080, 1632) 1372349544 -2.023033484364404 treat image : temp/1752739048_4030382_1372349542_313afcaa09c3f084a20aa4e61901729f.jpg resize: (1080, 1632) 1372349542 -1.9820157843010002 treat image : temp/1752739048_4030382_1372349538_c77cce769ac96603539df0142a98b93b.jpg resize: (1080, 1632) 1372349538 -2.0582497087447784 treat image : temp/1752739048_4030382_1372349535_0a42b6172a3955dc792093b4073fbf1e.jpg resize: (1080, 1632) 1372349535 -2.0291269145752326 treat image : temp/1752739048_4030382_1372349509_f9be133c7b45f3b3bd22b9f5b23334a2.jpg resize: (1080, 1632) 1372349509 -2.700149041691216 treat image : temp/1752739048_4030382_1372349506_bc8fe83ffe55837990e35379a865e5b0.jpg resize: (1080, 1632) 1372349506 -2.7341782985367287 treat image : temp/1752739048_4030382_1372349504_92480799e3bb410b9999abce03a3f046.jpg resize: (1080, 1632) 1372349504 -2.7405472301076137 treat image : temp/1752739048_4030382_1372349502_9e6ae366d9ccf435f5eea379b53b4b6b.jpg resize: (1080, 1632) 1372349502 -2.749146603247762 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.0157625675201416 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.015009164810180664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015935659408569336 save missing photos in datou_result : time spend for datou_step_exec : 14.769794702529907 time spend to save output : 0.051451921463012695 total time spend for step 1 : 14.82124662399292 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.17user 3.04system 0:20.68elapsed 83%CPU (0avgtext+0avgdata 138604maxresident)k 0inputs+7160outputs (4major+257398minor)pagefaults 0swaps