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 : 1347565 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 : 4237>100 please execute split_portfolio.py -i 25245749 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3331975'] with mtr_portfolio_ids : ['25245749'] and first list_photo_ids : [] new path : /proc/1347565/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.3201277256011963 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 Thu Jul 24 13:17: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/1753355848_1347565_1373525922_fcd68d1448876af68212349018d3ea1d.jpg resize: (1080, 1632) 1373525922 -5.5647470112014545 treat image : temp/1753355848_1347565_1373525917_b86df528ce78fab208950ceb57131190.jpg resize: (1080, 1632) 1373525917 -5.524127889002261 treat image : temp/1753355848_1347565_1373525895_e53441dbd2a246e578fbf62ebe7a7bc5.jpg resize: (1080, 1632) 1373525895 -5.515424121347659 treat image : temp/1753355848_1347565_1373525893_57cad010624ecc0f0e363a21aac5946b.jpg resize: (1080, 1632) 1373525893 -5.551498571292854 treat image : temp/1753355848_1347565_1373525891_7bffb131ab98ea0c7e0504927e348b79.jpg resize: (1080, 1632) 1373525891 -5.556823304402612 treat image : temp/1753355848_1347565_1373525888_19baf9a3eeafd5207e11ddab76c84696.jpg resize: (1080, 1632) 1373525888 -5.557745732050646 treat image : temp/1753355848_1347565_1373525821_cfed143f2fcd8026bf17e225ba03b819.jpg resize: (1080, 1632) 1373525821 -5.6369323993755085 treat image : temp/1753355848_1347565_1373525819_5c34af58e3eb60cecf2da783e6ead0db.jpg resize: (1080, 1632) 1373525819 -5.696854878402191 treat image : temp/1753355848_1347565_1373525816_705785b64d562463813f1b33393cf699.jpg resize: (1080, 1632) 1373525816 -5.545787559124831 treat image : temp/1753355848_1347565_1373525815_ecd2cf6b0c09e89a9a7191ed974cb22e.jpg resize: (1080, 1632) 1373525815 -5.578071808875153 treat image : temp/1753355848_1347565_1373525813_d0d6636fc1092bda0a2810b4189b09f4.jpg resize: (1080, 1632) 1373525813 -5.596002887040723 treat image : temp/1753355848_1347565_1373525811_f7d523b1b02dbe7a48cabd03c624154d.jpg resize: (1080, 1632) 1373525811 -5.6790832413919965 treat image : temp/1753355848_1347565_1373525780_1365e2135a2cb7e8438d0dece0b626df.jpg resize: (1080, 1632) 1373525780 -5.7148226181799355 treat image : temp/1753355848_1347565_1373525779_5c36e43ffcc3994dcc29b4ef91585984.jpg resize: (1080, 1632) 1373525779 -5.738260048286613 treat image : temp/1753355848_1347565_1373525777_2d5977e1b2869f717a685faafdfa0d48.jpg resize: (1080, 1632) 1373525777 -5.750750425798336 treat image : temp/1753355848_1347565_1373525774_826c8facdbcd0b3b693c66887e1264cd.jpg resize: (1080, 1632) 1373525774 -5.7373984852391375 treat image : temp/1753355848_1347565_1373525772_d919634fbe32a8643dec0d14eb8cb3a5.jpg resize: (1080, 1632) 1373525772 -5.540608075767377 treat image : temp/1753355848_1347565_1373525763_5a24940ccc1cf653ffb414b71d245a9e.jpg resize: (1080, 1632) 1373525763 -5.5484233842045185 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 : 18 time used for this insertion : 0.015677928924560547 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.014167308807373047 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.016791343688964844 save missing photos in datou_result : time spend for datou_step_exec : 17.53919744491577 time spend to save output : 0.050994873046875 total time spend for step 1 : 17.590192317962646 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.82user 7.31system 0:23.77elapsed 84%CPU (0avgtext+0avgdata 138656maxresident)k 128inputs+9928outputs (4major+235775minor)pagefaults 0swaps