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 : 882980 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 : 2998>100 please execute split_portfolio.py -i 20315060 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2560927'] with mtr_portfolio_ids : ['20315060'] and first list_photo_ids : [] new path : /proc/882980/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 16 ; length of list_pids : 16 ; length of list_args : 16 time to download the photos : 1.7320780754089355 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 Feb 7 20: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/1738955248_882980_1335592833_3ecfce35f7261b869bdfba4fd79aa3bf.jpg resize: (1080, 1632) 1335592833 -3.9297384229582435 treat image : temp/1738955248_882980_1335592831_001c76e3bf80dc27fa2728f92bba4ae3.jpg resize: (1080, 1632) 1335592831 -1.3148841003935852 treat image : temp/1738955248_882980_1335592829_a6c0ea3ba46f391f821267ef11238feb.jpg resize: (1080, 1632) 1335592829 -3.161129646791303 treat image : temp/1738955248_882980_1335592811_3ef1b15d5bbfc3d9e50c703e470d7d03.jpg resize: (1080, 1632) 1335592811 -6.313073595014773 treat image : temp/1738955248_882980_1335592806_9a993524bef437065c2911a72232c94a.jpg resize: (1080, 1632) 1335592806 -6.4608859489640915 treat image : temp/1738955248_882980_1335592801_447e06d56d971fa325de12328f61c2ef.jpg resize: (1080, 1632) 1335592801 -6.2354138027993535 treat image : temp/1738955248_882980_1335592793_e8583face4d66b415e174a508e48150b.jpg resize: (1080, 1632) 1335592793 -6.07410495202219 treat image : temp/1738955248_882980_1335592790_d46f2e1def6f8d602e003661c46aeba9.jpg resize: (1080, 1632) 1335592790 -5.709469604787553 treat image : temp/1738955248_882980_1335591611_f2d8938ce6b00c2df06a8539f44d965d.jpg resize: (1080, 1632) 1335591611 -6.083031731211871 treat image : temp/1738955248_882980_1335591608_8c156535884c62a5c770ad9704a1e9c6.jpg resize: (1080, 1632) 1335591608 -6.188621256537356 treat image : temp/1738955248_882980_1335591604_4fd6314831146f6f5c14d8ec79fa30c0.jpg resize: (1080, 1632) 1335591604 -5.815085062050581 treat image : temp/1738955248_882980_1335589839_7c09f5c3ea1529616cc302c369c9c11a.jpg resize: (1080, 1632) 1335589839 -3.2794408353939235 treat image : temp/1738955248_882980_1335589836_0eff005da9fc640485c35208edcaefb5.jpg resize: (1080, 1632) 1335589836 -4.457477985734738 treat image : temp/1738955248_882980_1335589833_6bde3bc00d4d2aecbacbfdf45df14d60.jpg resize: (1080, 1632) 1335589833 -6.161756131957514 treat image : temp/1738955248_882980_1335589824_69d3486416380a18d3ff7cca9f15eaeb.jpg resize: (1080, 1632) 1335589824 -5.8282018893004235 treat image : temp/1738955248_882980_1335589817_748d221ef5367b9de03d304feb9ab56e.jpg resize: (1080, 1632) 1335589817 -6.047174965285518 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 : 16 time used for this insertion : 0.017627954483032227 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 16 time used for this insertion : 0.01898980140686035 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.018395185470581055 save missing photos in datou_result : time spend for datou_step_exec : 10.703520059585571 time spend to save output : 0.060662269592285156 total time spend for step 1 : 10.764182329177856 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 16 set_done_treatment 11.51user 1.65system 0:15.81elapsed 83%CPU (0avgtext+0avgdata 136620maxresident)k 0inputs+8936outputs (5major+114940minor)pagefaults 0swaps