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 : 3635943 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 : 2626>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3635943/ 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.2429966926574707 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 May 21 17:32: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/1747841548_3635943_1360079339_c189115598a5198e69e8de6337be0f0f.jpg resize: (1080, 1632) 1360079339 -2.1099848093051743 treat image : temp/1747841548_3635943_1360078936_e3f5e7bb7669163e2a5459f095d3460c.jpg resize: (1080, 1632) 1360078936 -4.4814924936793465 treat image : temp/1747841548_3635943_1360078890_b3847191dad7a6217a597b9edc482e0b.jpg resize: (1080, 1632) 1360078890 -3.3936067760935593 treat image : temp/1747841548_3635943_1360078857_913ed824fbc1d601c9c245c320d060c9.jpg resize: (1080, 1632) 1360078857 -1.466633197459216 treat image : temp/1747841548_3635943_1360078650_0232ba5f7c6143cb5b5a45aed981fe3a.jpg resize: (1080, 1632) 1360078650 -5.502811320319025 treat image : temp/1747841548_3635943_1360078543_34425ea9979faba5a89bcf05876ccd5b.jpg resize: (1080, 1632) 1360078543 -3.3259614928555505 treat image : temp/1747841548_3635943_1360078470_c45f54d6893dbbb678b153172b3033e0.jpg resize: (1080, 1632) 1360078470 -5.474422421117505 treat image : temp/1747841548_3635943_1360078458_7db039b6d4d9e960ff9b4421c54d600e.jpg resize: (1080, 1632) 1360078458 -5.620393192792785 treat image : temp/1747841548_3635943_1360078429_aa99261fb1b8ade340e8f31032f8dae3.jpg resize: (1080, 1632) 1360078429 -2.569787517734145 treat image : temp/1747841548_3635943_1360078413_1dfa4cd1e5499ca59b09a90a86bd8693.jpg resize: (1080, 1632) 1360078413 -5.7053990346689964 treat image : temp/1747841548_3635943_1360078084_b2b1e16d21d29dc2d70a97bcb7f6cc9d.jpg resize: (1080, 1632) 1360078084 -0.9945773556921532 treat image : temp/1747841548_3635943_1360078053_1244a30df910028f6c48d2e1c4ed7ec3.jpg resize: (1080, 1632) 1360078053 -3.3029360723888614 treat image : temp/1747841548_3635943_1360078011_6f53b272d67d2ae1582fe5e4adbe2bfc.jpg resize: (1080, 1632) 1360078011 -5.490836639372622 treat image : temp/1747841548_3635943_1360077975_872876cf2591196d28bf014ad36fab6f.jpg resize: (1080, 1632) 1360077975 -5.309475538430723 treat image : temp/1747841548_3635943_1360077945_062069d07e0dddf241cc4d716f9cb7cd.jpg resize: (1080, 1632) 1360077945 -5.316121243117006 treat image : temp/1747841548_3635943_1360075880_098f8d95344bf08c4970274cdaca4ebd.jpg resize: (1080, 1632) 1360075880 -3.2972467807218115 treat image : temp/1747841548_3635943_1360075876_2db8b4c3c1830466b27b75af403803f4.jpg resize: (1080, 1632) 1360075876 -5.51297427466357 treat image : temp/1747841548_3635943_1360074320_28c3f7d488239782beb0cf9b796f1e37.jpg resize: (1080, 1632) 1360074320 -4.954969466402159 treat image : temp/1747841548_3635943_1360074294_37f25cd1f307a2f40a17c1d3fb60121e.jpg resize: (1080, 1632) 1360074294 -5.646922912210301 treat image : temp/1747841548_3635943_1360074259_ae0b6437c75826b6f95eed5134ab4b48.jpg resize: (1080, 1632) 1360074259 -5.437312957830267 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.015816926956176758 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.04381608963012695 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.023130178451538086 save missing photos in datou_result : time spend for datou_step_exec : 16.687894105911255 time spend to save output : 0.08723592758178711 total time spend for step 1 : 16.775130033493042 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.22user 5.18system 0:21.71elapsed 89%CPU (0avgtext+0avgdata 138496maxresident)k 120inputs+9256outputs (4major+259143minor)pagefaults 0swaps