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 : 1057660 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 : 1560>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/1057660/ 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.2472352981567383 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 4 11:37: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/1751621849_1057660_1370549445_702a3249e06db6ebfe90ea2a97f932d8.jpg resize: (1080, 1632) 1370549445 -3.0403657291997694 treat image : temp/1751621849_1057660_1370549442_038ba67b43cb2d3666fc3e610de36f6a.jpg resize: (1080, 1632) 1370549442 -3.062085792767653 treat image : temp/1751621849_1057660_1370549438_7b712e6bef729f26eea2d375ae3cc09c.jpg resize: (1080, 1632) 1370549438 -1.057339905106268 treat image : temp/1751621849_1057660_1370549433_fb512395922daf5a617626b7a071e290.jpg resize: (1080, 1632) 1370549433 -2.3806927923914087 treat image : temp/1751621849_1057660_1370549430_d0fd5459d87f97127910d300940c81d2.jpg resize: (1080, 1632) 1370549430 -2.8628127156475682 treat image : temp/1751621849_1057660_1370549426_d395c872274581999233c68dfd9d69ba.jpg resize: (1080, 1632) 1370549426 -3.2389784344955097 treat image : temp/1751621849_1057660_1370549414_90efb556913ac3272e7f2889f4e1ec74.jpg resize: (1080, 1632) 1370549414 -4.058946689612701 treat image : temp/1751621849_1057660_1370549410_b8cecfc289add7d6f59142d943b4a4f6.jpg resize: (1080, 1632) 1370549410 -4.050414935018556 treat image : temp/1751621849_1057660_1370549398_3aa07de54cd585103653cda60814b146.jpg resize: (1080, 1632) 1370549398 -3.7635844223087993 treat image : temp/1751621849_1057660_1370549386_c8b12008d9b2d526535b9d0b5711ae44.jpg resize: (1080, 1632) 1370549386 -4.266582146285062 treat image : temp/1751621849_1057660_1370549383_12a16b2534f45399995034d76c97321a.jpg resize: (1080, 1632) 1370549383 -4.270554368301894 treat image : temp/1751621849_1057660_1370549379_f6e4cd5289f0be14629061b054ef374c.jpg resize: (1080, 1632) 1370549379 -3.728565606315805 treat image : temp/1751621849_1057660_1370549111_8f967979ddbcf1492884c7bdd0331c5f.jpg resize: (1080, 1632) 1370549111 -3.34986217265717 treat image : temp/1751621849_1057660_1370549100_c6be2f3182e8e172039fd73a95ee9e65.jpg resize: (1080, 1632) 1370549100 -4.127675166145391 treat image : temp/1751621849_1057660_1370549096_88a25ce04adc09a6e53475591e7988ba.jpg resize: (1080, 1632) 1370549096 -4.219384691722542 treat image : temp/1751621849_1057660_1370549092_86796ad6a7baf7eac32c5459fd232bae.jpg resize: (1080, 1632) 1370549092 -3.815832590280077 treat image : temp/1751621849_1057660_1370549079_d471a0cfc2ef592be70c018a4fc6b082.jpg resize: (1080, 1632) 1370549079 -3.599510884565611 treat image : temp/1751621849_1057660_1370549071_828190656a71a22738c9cf357cfdcfe8.jpg resize: (1080, 1632) 1370549071 -1.968388956749041 treat image : temp/1751621849_1057660_1370549067_bfe38440424038ed28886363f61b5642.jpg resize: (1080, 1632) 1370549067 -0.7552954724941112 treat image : temp/1751621849_1057660_1370549063_03e80f024af7a77ceb77ee86a5452ed1.jpg resize: (1080, 1632) 1370549063 -2.1834189149111376 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.01575613021850586 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.016046524047851562 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021114110946655273 save missing photos in datou_result : time spend for datou_step_exec : 15.083847045898438 time spend to save output : 0.05904793739318848 total time spend for step 1 : 15.142894983291626 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.29user 3.14system 0:21.05elapsed 82%CPU (0avgtext+0avgdata 137760maxresident)k 120inputs+7464outputs (3major+258453minor)pagefaults 0swaps