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 : 1084117 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 : 4490>100 please execute split_portfolio.py -i 22042798 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2722371'] with mtr_portfolio_ids : ['22042798'] and first list_photo_ids : [] new path : /proc/1084117/ 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.742205858230591 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 Sun Apr 6 20:52: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/1743965548_1084117_1350140641_f470b7966ffadf0c65a5fd5549d2bc18.jpg resize: (1080, 1632) 1350140641 -5.732198812140905 treat image : temp/1743965548_1084117_1350140639_a050a4294e943a7a2996cf503455b2e2.jpg resize: (1080, 1632) 1350140639 -5.2801141554384134 treat image : temp/1743965548_1084117_1350140636_1ea3da70fd884c62c7eedfc7569383c1.jpg resize: (1080, 1632) 1350140636 -6.0447451306751 treat image : temp/1743965548_1084117_1350140632_c843b617981a681670861ae3bd118555.jpg resize: (1080, 1632) 1350140632 -5.249042702838008 treat image : temp/1743965548_1084117_1350140629_ded86d6df881a4192094dc7b4eb6e7bd.jpg resize: (1080, 1632) 1350140629 -6.26649604806004 treat image : temp/1743965548_1084117_1350140593_dedc0159fd649d57a99c544a460a5049.jpg resize: (1080, 1632) 1350140593 -2.1859582204686148 treat image : temp/1743965548_1084117_1350140591_fc416712a66007356da4536994846c6f.jpg resize: (1080, 1632) 1350140591 -3.574952671420248 treat image : temp/1743965548_1084117_1350140587_174025866a79c28e510103e93352f60f.jpg resize: (1080, 1632) 1350140587 -2.1548590157722636 treat image : temp/1743965548_1084117_1350140584_6df53cb6ad4cf4b8158da2f2328f472a.jpg resize: (1080, 1632) 1350140584 -6.182839177283314 treat image : temp/1743965548_1084117_1350140581_0c1f0f872ea73414d8ada36c1c3f8b45.jpg resize: (1080, 1632) 1350140581 -4.9144363011850025 treat image : temp/1743965548_1084117_1350140580_f1bb88a139acc29b8bb5646e5e583d70.jpg resize: (1080, 1632) 1350140580 -6.1240333788278445 treat image : temp/1743965548_1084117_1350140542_ecf55643e1a07271ae2acc3cca404c6c.jpg resize: (1080, 1632) 1350140542 -5.131136548681273 treat image : temp/1743965548_1084117_1350140539_6e62c0944ccd7a4d5203edc340f878dc.jpg resize: (1080, 1632) 1350140539 -3.368034259451817 treat image : temp/1743965548_1084117_1350140537_a9d48ea8d2922d396eee327099933f4b.jpg resize: (1080, 1632) 1350140537 -0.7276633572068615 treat image : temp/1743965548_1084117_1350140534_5deaa755bd4dc1ea374043af8186eb19.jpg resize: (1080, 1632) 1350140534 -1.8206414029132398 treat image : temp/1743965548_1084117_1350140532_4e80aafd0b0400bf863e2b986363e653.jpg resize: (1080, 1632) 1350140532 -3.126053485273931 treat image : temp/1743965548_1084117_1350140529_dc379814021d1ee3fa3c45e265259fc9.jpg resize: (1080, 1632) 1350140529 -2.7126235068095315 treat image : temp/1743965548_1084117_1350140491_ae163e78e7ef60317c1780bf123f2238.jpg resize: (1080, 1632) 1350140491 -4.970186778536509 treat image : temp/1743965548_1084117_1350140487_5a87bc00b19e1c03f393e6b16334fe1e.jpg resize: (1080, 1632) 1350140487 -6.243996900975159 treat image : temp/1743965548_1084117_1350140484_a9d4b176e447151eeeebb484d731b851.jpg resize: (1080, 1632) 1350140484 -6.045020377912194 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 : 1.436415672302246 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.012032508850097656 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015875816345214844 save missing photos in datou_result : time spend for datou_step_exec : 16.191330909729004 time spend to save output : 1.4761247634887695 total time spend for step 1 : 17.667455673217773 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.74user 3.80system 0:23.98elapsed 77%CPU (0avgtext+0avgdata 141932maxresident)k 9624inputs+9968outputs (78major+257594minor)pagefaults 0swaps