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 : 3885981 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/3885981/ 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.219879388809204 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 Fri Jul 18 19:27:32 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/1752859649_3885981_1372321007_f48b6f024edee7c574020b9c0af37cf6.jpg resize: (1080, 1632) 1372321007 -4.846213404809973 treat image : temp/1752859649_3885981_1372320988_9f5953e9e4b776780144953a00412105.jpg resize: (1080, 1632) 1372320988 -2.607622005229319 treat image : temp/1752859649_3885981_1372320984_4f463628535ae824060c5536690772b2.jpg resize: (1080, 1632) 1372320984 -2.621406816506384 treat image : temp/1752859649_3885981_1372320978_ee0fd9a7b125fa376abec15f990578ab.jpg resize: (1080, 1632) 1372320978 -2.620475217207638 treat image : temp/1752859649_3885981_1372320976_3941bfc90dadf76b5570484156067f97.jpg resize: (1080, 1632) 1372320976 -1.3777441168919107 treat image : temp/1752859649_3885981_1372320974_22757fc927e1cf4afb23e63c6bca55b6.jpg resize: (1080, 1632) 1372320974 -2.296439765832141 treat image : temp/1752859649_3885981_1372320972_68e5b7fad95b062293ef4bb6ece142fd.jpg resize: (1080, 1632) 1372320972 -2.3071926615543914 treat image : temp/1752859649_3885981_1372320949_411914efb97c3bee168f8343b3406456.jpg resize: (1080, 1632) 1372320949 -2.6208484962109857 treat image : temp/1752859649_3885981_1372320945_7f89777e05d12bc6b5c5e4e7ddc5d268.jpg resize: (1080, 1632) 1372320945 -2.6300578706695705 treat image : temp/1752859649_3885981_1372320940_5aadb6442465202d659bf5b9cc0d0b1e.jpg resize: (1080, 1632) 1372320940 -2.6414646639046886 treat image : temp/1752859649_3885981_1372320937_75d45d5bee155e95b97dbc86a293997c.jpg resize: (1080, 1632) 1372320937 -2.6308962505739513 treat image : temp/1752859649_3885981_1372320935_e322c8b238ce72710a3c4a8cafca6b86.jpg resize: (1080, 1632) 1372320935 -2.6292747823414198 treat image : temp/1752859649_3885981_1372320933_42a3e728c70f83555a14b02f97cd4772.jpg resize: (1080, 1632) 1372320933 -2.6330931706513665 treat image : temp/1752859649_3885981_1372320913_e49d633a7fa39aaad8e5986c7e54c319.jpg resize: (1080, 1632) 1372320913 -2.677600617771019 treat image : temp/1752859649_3885981_1372320911_4410891b83e809fdcea850025d0d7882.jpg resize: (1080, 1632) 1372320911 -2.678683415764757 treat image : temp/1752859649_3885981_1372320905_fc3a829fbe7fb25f9a29d10c39d43494.jpg resize: (1080, 1632) 1372320905 -2.6596360628162623 treat image : temp/1752859649_3885981_1372320902_66bc019a4562340061aa6e10718aec53.jpg resize: (1080, 1632) 1372320902 -2.64177832830531 treat image : temp/1752859649_3885981_1372320900_eeeec2d18e2f518c8dd6077bbd381847.jpg resize: (1080, 1632) 1372320900 -2.6083846156823944 treat image : temp/1752859649_3885981_1372320898_6c48bdaffb33f5c715bac12ddf7ed78a.jpg resize: (1080, 1632) 1372320898 -2.620502287778451 treat image : temp/1752859649_3885981_1372320859_9a613171f92d6dcf723158cf4adf9092.jpg resize: (1080, 1632) 1372320859 -2.668323277349676 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.012738466262817383 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.013935327529907227 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01522517204284668 save missing photos in datou_result : time spend for datou_step_exec : 15.683093786239624 time spend to save output : 0.046449899673461914 total time spend for step 1 : 15.729543685913086 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.53user 3.78system 0:22.20elapsed 82%CPU (0avgtext+0avgdata 140040maxresident)k 88inputs+7096outputs (0major+259652minor)pagefaults 0swaps