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 : 276871 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 : 1985>100 please execute split_portfolio.py -i 23101416 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2889281'] with mtr_portfolio_ids : ['23101416'] and first list_photo_ids : [] new path : /proc/276871/ 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 : 4.3394036293029785 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 Wed Sep 17 03:07: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/1758071246_276871_1359491111_015e790e23ff2d892f8a13645c5caac0.jpg resize: (1080, 1632) 1359491111 -5.015911530000684 treat image : temp/1758071246_276871_1359490562_93cc65950453249818e366e13232bce6.jpg resize: (1080, 1632) 1359490562 -5.538715911267548 treat image : temp/1758071246_276871_1359490558_275e6cde3479efd8d9651189a3efb494.jpg resize: (1080, 1632) 1359490558 -5.0916991116071815 treat image : temp/1758071246_276871_1359490555_c669bda94e9981ef79e774a8b92edcb3.jpg resize: (1080, 1632) 1359490555 -1.4287716020007777 treat image : temp/1758071246_276871_1359490544_8c81f179706b959715e595800e0c8662.jpg resize: (1080, 1632) 1359490544 -5.854701059227069 treat image : temp/1758071246_276871_1359490541_7c9c61d8522636768ed1f792c657fae6.jpg resize: (1080, 1632) 1359490541 -2.9331874285838104 treat image : temp/1758071246_276871_1359490537_e9e62da82bd2db24ac9f3b9c35902622.jpg resize: (1080, 1632) 1359490537 -5.242828535380432 treat image : temp/1758071246_276871_1359490534_e7b51468f1c8c28b6c3465c0ad26cc8a.jpg resize: (1080, 1632) 1359490534 -5.877525769737658 treat image : temp/1758071246_276871_1359490529_0e19d2cb6c7eb35918c40c4506f534c0.jpg resize: (1080, 1632) 1359490529 -5.702571718079206 treat image : temp/1758071246_276871_1359490525_d01b9cd25cf3aac65219b197511286af.jpg resize: (1080, 1632) 1359490525 -5.690331770003665 treat image : temp/1758071246_276871_1359490380_fb3268962f998fa535da0f3eb1b96218.jpg resize: (1080, 1632) 1359490380 -3.5153651729072455 treat image : temp/1758071246_276871_1359490352_c73c26838b591d89bdd4f2c3c7318490.jpg resize: (1080, 1632) 1359490352 -5.72067654482793 treat image : temp/1758071246_276871_1359490323_781b2abf47db1ce178a44c6d14752d47.jpg resize: (1080, 1632) 1359490323 -6.065354473356867 treat image : temp/1758071246_276871_1359490315_4bb7005408d122f6ab0f4b1d7c400c86.jpg resize: (1080, 1632) 1359490315 -5.906567360048481 treat image : temp/1758071246_276871_1359490311_872cf2074b6be439edfd072848439f9f.jpg resize: (1080, 1632) 1359490311 -6.120661655453799 treat image : temp/1758071246_276871_1359490307_8efc042301a1cb6db8164246b09bb1c8.jpg resize: (1080, 1632) 1359490307 -3.8172559333642386 treat image : temp/1758071246_276871_1359490279_f047494ae34e782b668bb9c351e4e628.jpg resize: (1080, 1632) 1359490279 -5.494422840112959 treat image : temp/1758071246_276871_1359490255_95d367edeafc5cde1c4656216672ed51.jpg resize: (1080, 1632) 1359490255 -2.5984245461224162 treat image : temp/1758071246_276871_1359490251_155c4902974213484e35eb2548040022.jpg resize: (1080, 1632) 1359490251 -1.2401354692090147 treat image : temp/1758071246_276871_1359490249_084e81d57069ae777043499255f047d0.jpg resize: (1080, 1632) 1359490249 -2.3307013903299083 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.014018058776855469 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.01668572425842285 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018987178802490234 save missing photos in datou_result : time spend for datou_step_exec : 15.336804151535034 time spend to save output : 0.05464768409729004 total time spend for step 1 : 15.391451835632324 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.35user 3.17system 0:21.33elapsed 82%CPU (0avgtext+0avgdata 137280maxresident)k 72inputs+9784outputs (9major+257505minor)pagefaults 0swaps