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 : 1446138 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 : 1134>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/1446138/ 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.373375654220581 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 Tue May 20 09:12:29 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/1747725147_1446138_1359778679_30f5dc63dee168bc18d22b6c99d31167.jpg resize: (1080, 1632) 1359778679 -3.3647878133482436 treat image : temp/1747725147_1446138_1359778631_caca10ce299982f03ba1a2819351736e.jpg resize: (1080, 1632) 1359778631 -5.666408887442833 treat image : temp/1747725147_1446138_1359778629_51152bd2746539808f23b65ba9aab9bf.jpg resize: (1080, 1632) 1359778629 -5.625512271014658 treat image : temp/1747725147_1446138_1359778626_c67b84a8bc35df835b48dccbb5bfc4e9.jpg resize: (1080, 1632) 1359778626 -6.3788106886902725 treat image : temp/1747725147_1446138_1359778622_f62915316129bb520858178924b3fec8.jpg resize: (1080, 1632) 1359778622 -3.035086670038847 treat image : temp/1747725147_1446138_1359778618_dbc43f0f3324a17a3af7db8c6c5ea893.jpg resize: (1080, 1632) 1359778618 -5.7702959482425396 treat image : temp/1747725147_1446138_1359778616_a9ca3a3a4e13fcdc235621429c22e2fe.jpg resize: (1080, 1632) 1359778616 -5.560937106693563 treat image : temp/1747725147_1446138_1359778588_00970213d1462e4972e6759973f5e032.jpg resize: (1080, 1632) 1359778588 -1.9510085140360933 treat image : temp/1747725147_1446138_1359778587_c4a025407e8f1d3a484b33015fe113b7.jpg resize: (1080, 1632) 1359778587 -1.7096816152712815 treat image : temp/1747725147_1446138_1359778580_2b381cc744da51b608749218099ee8b4.jpg resize: (1080, 1632) 1359778580 -3.2453835502827766 treat image : temp/1747725147_1446138_1359778553_24a1c50ea270dd63332638de8e870daf.jpg resize: (1080, 1632) 1359778553 -5.604659255749286 treat image : temp/1747725147_1446138_1359778539_7139d6cd1abf43823f5f90f20806cba5.jpg resize: (1080, 1632) 1359778539 -4.6607141986241505 treat image : temp/1747725147_1446138_1359778501_0d5d9ee28b21b8c59144e03611fefa2a.jpg resize: (1080, 1632) 1359778501 -6.190712026658342 treat image : temp/1747725147_1446138_1359778499_27e0b9de9e7d93b3f5bb569c0b1c3f89.jpg resize: (1080, 1632) 1359778499 -6.080523505780641 treat image : temp/1747725147_1446138_1359778496_1fcaad5524fd6b3e4a2cd50ee07f978f.jpg resize: (1080, 1632) 1359778496 -5.5874621652818846 treat image : temp/1747725147_1446138_1359778493_90decaed9869c723718d292210e4ba13.jpg resize: (1080, 1632) 1359778493 -4.121730054501904 treat image : temp/1747725147_1446138_1359778491_c238122dbc67c8756c2360bc970e6ccd.jpg resize: (1080, 1632) 1359778491 -1.6925686251663874 treat image : temp/1747725147_1446138_1359778472_655bceb0544fbf0e90692925c63800a8.jpg resize: (1080, 1632) 1359778472 -1.120829995641678 treat image : temp/1747725147_1446138_1359778470_a2f887e0ecaec5698de1b0e7b67a5d8e.jpg resize: (1080, 1632) 1359778470 -4.186740763124116 treat image : temp/1747725147_1446138_1359778468_2b686c9fa57577c9458fe64b9449638e.jpg resize: (1080, 1632) 1359778468 -6.007505736847013 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.01596236228942871 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.17467236518859863 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.11076951026916504 save missing photos in datou_result : time spend for datou_step_exec : 19.88959002494812 time spend to save output : 0.3067042827606201 total time spend for step 1 : 20.19629430770874 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.93user 7.64system 0:25.41elapsed 88%CPU (0avgtext+0avgdata 136560maxresident)k 904inputs+9680outputs (33major+257266minor)pagefaults 0swaps