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 : 1231911 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 : 2533>100 please execute split_portfolio.py -i 25895674 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3506765'] with mtr_portfolio_ids : ['25895674'] and first list_photo_ids : [] new path : /proc/1231911/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 17 ; length of list_pids : 17 ; length of list_args : 17 time to download the photos : 2.042266368865967 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 Aug 12 16:17:29 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/1755008247_1231911_1376635787_82c3701eda0693a34739a41df6e1a30b.jpg resize: (1080, 1632) 1376635787 -4.680955235608289 treat image : temp/1755008247_1231911_1376635786_1b14bab29ea4736d3277799e03b5e6aa.jpg resize: (1080, 1632) 1376635786 -5.880032462816974 treat image : temp/1755008247_1231911_1376635785_68f4c820fb5a38a782b7e3a46be5740c.jpg resize: (1080, 1632) 1376635785 -4.824597553087376 treat image : temp/1755008247_1231911_1376635782_87a19d53b498ea146656540d46f3d1a7.jpg resize: (1080, 1632) 1376635782 -3.7313091363186386 treat image : temp/1755008247_1231911_1376635733_77b608ec520ef73255b52cdf5b79cfd6.jpg resize: (1080, 1632) 1376635733 -5.3176239009178845 treat image : temp/1755008247_1231911_1376635731_9d4aa17275e74e0845f42991a747436b.jpg resize: (1080, 1632) 1376635731 -5.895255124700161 treat image : temp/1755008247_1231911_1376635729_81bd4760ad1340f5256271b84664539a.jpg resize: (1080, 1632) 1376635729 -4.971577087111604 treat image : temp/1755008247_1231911_1376635727_b5fd1ecfe5bacfc8133cfc1fdefe009f.jpg resize: (1080, 1632) 1376635727 -4.015017284146712 treat image : temp/1755008247_1231911_1376635648_172875d743e72231b901adf7e18fb4c0.jpg resize: (1080, 1632) 1376635648 -4.72270550872549 treat image : temp/1755008247_1231911_1376635643_929de5328e7e351d77c8a98f0e08d35f.jpg resize: (1080, 1632) 1376635643 -5.377325971432316 treat image : temp/1755008247_1231911_1376635639_e13e1fc59c2fb1cdfb3eb20dcb2a770b.jpg resize: (1080, 1632) 1376635639 -5.087846446825624 treat image : temp/1755008247_1231911_1376635632_b3d0bf877f1da6a0a0cf85b821fc7522.jpg resize: (1080, 1632) 1376635632 -5.126211484769601 treat image : temp/1755008247_1231911_1376635628_f9b6fde76066b9e045933623f32e0ee9.jpg resize: (1080, 1632) 1376635628 -5.689936472379447 treat image : temp/1755008247_1231911_1376635624_276cf608e55de34816262a8ad87bc96a.jpg resize: (1080, 1632) 1376635624 -5.089042316190683 treat image : temp/1755008247_1231911_1376635613_0dd55ca8e71c62cb2f7805ab417f870f.jpg resize: (1080, 1632) 1376635613 -4.583124577788027 treat image : temp/1755008247_1231911_1376635611_efa88037a2036826123390c223384877.jpg resize: (1080, 1632) 1376635611 -3.2727744615920997 treat image : temp/1755008247_1231911_1376635609_d11dfdb901bbd3ba89c4d30405f1b912.jpg resize: (1080, 1632) 1376635609 -1.4622758063291166 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 : 17 time used for this insertion : 0.011702775955200195 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 17 time used for this insertion : 0.0120391845703125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.013957023620605469 save missing photos in datou_result : time spend for datou_step_exec : 11.775138139724731 time spend to save output : 0.04274296760559082 total time spend for step 1 : 11.817881107330322 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 17 set_done_treatment 11.96user 2.61system 0:15.25elapsed 95%CPU (0avgtext+0avgdata 138540maxresident)k 112inputs+7976outputs (0major+156294minor)pagefaults 0swaps