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 : 342113 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 : 4773>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/342113/ 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.7176156044006348 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 17 14:17:31 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/1752754649_342113_1372412462_ef938d155b1f1409e8b2691b4dc55ba7.jpg resize: (1080, 1632) 1372412462 -3.2452616017857596 treat image : temp/1752754649_342113_1372412458_73e69654e96957ad79eb5898e6b581d2.jpg resize: (1080, 1632) 1372412458 -3.9025400536817805 treat image : temp/1752754649_342113_1372412455_0ab9383ba9cb971ed38372330c2f95c2.jpg resize: (1080, 1632) 1372412455 -5.572730780758419 treat image : temp/1752754649_342113_1372412453_229d0e97553bd2cb4da42445dd979df4.jpg resize: (1080, 1632) 1372412453 -5.742313514128569 treat image : temp/1752754649_342113_1372412450_9bf8217817b7989f148dd1a4ed1962a7.jpg resize: (1080, 1632) 1372412450 -5.740029391096361 treat image : temp/1752754649_342113_1372412447_ecc305fe8dfbff287f45f778a440424d.jpg resize: (1080, 1632) 1372412447 -6.1836942357030225 treat image : temp/1752754649_342113_1372412385_58ceb56d774ca0800703fb26eeac736b.jpg resize: (1080, 1632) 1372412385 -5.432128748737886 treat image : temp/1752754649_342113_1372412361_aa28b12085bdf78e7d938ee4d4182169.jpg resize: (1080, 1632) 1372412361 -2.3109074135179255 treat image : temp/1752754649_342113_1372412337_3f98b79f8cdb5b72026b2d8dcd9b6940.jpg resize: (1080, 1632) 1372412337 -1.7877447390217955 treat image : temp/1752754649_342113_1372412314_974754127e6f07bfb939ac6e641d02e5.jpg resize: (1080, 1632) 1372412314 -2.4374056505362005 treat image : temp/1752754649_342113_1372412288_af822f950cf0f6a87f7cd72ea68f5880.jpg resize: (1080, 1632) 1372412288 -1.6397365487506057 treat image : temp/1752754649_342113_1372412252_0ecb716984b94a850d05f648c224a0f7.jpg resize: (1080, 1632) 1372412252 -1.8564261128562811 treat image : temp/1752754649_342113_1372342145_966bfe192d3997e346fb0328caa7b367.jpg resize: (1080, 1632) 1372342145 -4.499985936461262 treat image : temp/1752754649_342113_1372342129_eb0279ad0a09669fe34d29bc1f772863.jpg resize: (1080, 1632) 1372342129 -3.7789188960022235 treat image : temp/1752754649_342113_1372342125_d19cd630e0b0d720389b4d3dc5ce0e0f.jpg resize: (1080, 1632) 1372342125 -4.594246788577916 treat image : temp/1752754649_342113_1372342123_aa01e3feb73bb3b10c8e2aa4deb6ee94.jpg resize: (1080, 1632) 1372342123 -4.57040989196563 treat image : temp/1752754649_342113_1372342122_9fe21a089b569a073165cf68114af6f8.jpg resize: (1080, 1632) 1372342122 -4.56107662771208 treat image : temp/1752754649_342113_1372342120_1972cce1d9cabfbefa6847a9968614cd.jpg resize: (1080, 1632) 1372342120 -4.5494274975568345 treat image : temp/1752754649_342113_1372342118_6c28fbd9829b5e6a9ac6e0edf5ba7852.jpg resize: (1080, 1632) 1372342118 -4.5850997766834825 treat image : temp/1752754649_342113_1372342103_517907770397dc0cbbf96d6ae1710828.jpg resize: (1080, 1632) 1372342103 -4.883491825006032 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.04402875900268555 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.0436244010925293 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.04733133316040039 save missing photos in datou_result : time spend for datou_step_exec : 16.978373050689697 time spend to save output : 0.15567898750305176 total time spend for step 1 : 17.13405203819275 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.08user 5.94system 0:23.77elapsed 84%CPU (0avgtext+0avgdata 138736maxresident)k 16inputs+8800outputs (11major+253950minor)pagefaults 0swaps