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 : 3708827 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 : 2705>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/3708827/ 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 : 3.0209288597106934 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 Tue May 13 17: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/1747151847_3708827_1357861399_7811f84edc6f79eee2c8ec6c376a4bdb.jpg resize: (1080, 1632) 1357861399 -2.482647995358761 treat image : temp/1747151847_3708827_1357861396_3c8452a5c4119e83812454043cf7e4aa.jpg resize: (1080, 1632) 1357861396 -5.7056232722982845 treat image : temp/1747151847_3708827_1357861393_b63bf4c058fea71dd775ebf4e8e90625.jpg resize: (1080, 1632) 1357861393 -5.72055372392689 treat image : temp/1747151847_3708827_1357861361_2552e2d5d0085f76b947342f26564e0a.jpg resize: (1080, 1632) 1357861361 -5.4410032590191015 treat image : temp/1747151847_3708827_1357861357_6d10fb5b839d729fc5a30a8b47a1302d.jpg resize: (1080, 1632) 1357861357 -5.057228818587011 treat image : temp/1747151847_3708827_1357861354_829183c758f8a08ff43d7ab2c9300f7e.jpg resize: (1080, 1632) 1357861354 -5.121366482729825 treat image : temp/1747151847_3708827_1357861351_bf3bfcca02458b88d7c845b88dbbf975.jpg resize: (1080, 1632) 1357861351 -5.101157582077916 treat image : temp/1747151847_3708827_1357861348_66a68988742c20d1fdcaef18d0b131a7.jpg resize: (1080, 1632) 1357861348 -2.9825618249506145 treat image : temp/1747151847_3708827_1357861346_ed969818c448eb6dfb94503dba136901.jpg resize: (1080, 1632) 1357861346 -0.23334229696011555 treat image : temp/1747151847_3708827_1357860452_dc6b0e60723b07b9e63f30ab3570ebc0.jpg resize: (1080, 1632) 1357860452 -3.4306314502396815 treat image : temp/1747151847_3708827_1357860277_30995fc91d77e38424e49156e06d28b2.jpg resize: (1080, 1632) 1357860277 -3.689453720633648 treat image : temp/1747151847_3708827_1357860274_c3e7f3d7b18acb75f7b15bdd86286f24.jpg resize: (1080, 1632) 1357860274 -6.265975737948838 treat image : temp/1747151847_3708827_1357860271_21170092f909e4bacb4f729ddb17a24d.jpg resize: (1080, 1632) 1357860271 -6.530556401154467 treat image : temp/1747151847_3708827_1357860269_fda1d72bd21a2e2ada23503dd76d0374.jpg resize: (1080, 1632) 1357860269 -5.931179938484886 treat image : temp/1747151847_3708827_1357860266_78869b03add9740ad876464671df961e.jpg resize: (1080, 1632) 1357860266 -6.17857212230428 treat image : temp/1747151847_3708827_1357859937_55f70c7914175cdb86a2fb75d4944c47.jpg resize: (1080, 1632) 1357859937 -5.430986781927701 treat image : temp/1747151847_3708827_1357859935_a479c55b7c6fec3d93cdc7cea03f81c6.jpg resize: (1080, 1632) 1357859935 -5.917201117795887 treat image : temp/1747151847_3708827_1357859468_e726ec7430c07ab556e622b41b552101.jpg resize: (1080, 1632) 1357859468 -3.4360664140478008 treat image : temp/1747151847_3708827_1357859467_d6b764329930776dca412f5a905e6ec8.jpg resize: (1080, 1632) 1357859467 -6.182515882019785 treat image : temp/1747151847_3708827_1357859438_eef5420c46641cf1543a448fca64fcea.jpg resize: (1080, 1632) 1357859438 -5.008935484979733 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.013429641723632812 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.013825654983520508 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015987396240234375 save missing photos in datou_result : time spend for datou_step_exec : 17.64028787612915 time spend to save output : 0.04823017120361328 total time spend for step 1 : 17.688518047332764 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.99user 4.88system 0:22.94elapsed 86%CPU (0avgtext+0avgdata 140856maxresident)k 1056inputs+10328outputs (26major+261676minor)pagefaults 0swaps