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 : 786480 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 : 4442>100 please execute split_portfolio.py -i 25479781 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3392459'] with mtr_portfolio_ids : ['25479781'] and first list_photo_ids : [] new path : /proc/786480/ 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.944225549697876 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 Jul 30 18:37: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/1753893449_786480_1374456642_441e530caae12444e1113e08451f0c52.jpg resize: (1080, 1632) 1374456642 -2.11285587435508 treat image : temp/1753893449_786480_1374456639_4e560a7d994fdb08966256e063a8f686.jpg resize: (1080, 1632) 1374456639 -5.256436627478229 treat image : temp/1753893449_786480_1374456636_c572388ec5b94659ba50c531f739355c.jpg resize: (1080, 1632) 1374456636 -3.993062312096459 treat image : temp/1753893449_786480_1374456634_002aacfa43ebe59beee5f660881f3896.jpg resize: (1080, 1632) 1374456634 -3.403915122259242 treat image : temp/1753893449_786480_1374456629_f5df05dc8887bc325eed1830d6095918.jpg resize: (1080, 1632) 1374456629 -4.606338903677085 treat image : temp/1753893449_786480_1374456608_4e47f352b4278deba20838c499f6b60e.jpg resize: (1080, 1632) 1374456608 -5.248291119122635 treat image : temp/1753893449_786480_1374453926_4bb749879708de943e6630174f453eb0.jpg resize: (1080, 1632) 1374453926 -4.837472851969401 treat image : temp/1753893449_786480_1374453922_cfa4116ae147855e0fc5571b00963884.jpg resize: (1080, 1632) 1374453922 -5.467246127959363 treat image : temp/1753893449_786480_1374453896_ace51fe97efb18be58d336df6c62171d.jpg resize: (1080, 1632) 1374453896 -3.1830264293558215 treat image : temp/1753893449_786480_1374453874_9bee7ea4c0f73d3299d81d17f27f711b.jpg resize: (1080, 1632) 1374453874 -5.046650551206603 treat image : temp/1753893449_786480_1374453871_5af1de63eb1c4304692ff52d2ec868a0.jpg resize: (1080, 1632) 1374453871 -4.647939036117245 treat image : temp/1753893449_786480_1374453870_a3dc6bcda9e7b925983afba2f68f00ba.jpg resize: (1080, 1632) 1374453870 -5.11364843349312 treat image : temp/1753893449_786480_1374453869_ece5584630434bf872c39703a00cf129.jpg resize: (1080, 1632) 1374453869 -3.204089037305744 treat image : temp/1753893449_786480_1374453868_b70f06508ce237dde2c02e7fc48405b4.jpg resize: (1080, 1632) 1374453868 -5.491420065492876 treat image : temp/1753893449_786480_1374453865_3ba20c818c7b08b10d7e49cd185fb969.jpg resize: (1080, 1632) 1374453865 -5.473361906029922 treat image : temp/1753893449_786480_1374453852_f7f22931127d66abb67f6492d237851c.jpg resize: (1080, 1632) 1374453852 -1.3260945443543342 treat image : temp/1753893449_786480_1374453848_1651bd66320c73b89e4f4f2f17584179.jpg resize: (1080, 1632) 1374453848 -2.7152169838929416 treat image : temp/1753893449_786480_1374453845_26060f4b59991751d38c853fbcb5881e.jpg resize: (1080, 1632) 1374453845 -2.745917326584089 treat image : temp/1753893449_786480_1374453843_8c78fa1ce2eea8546645dd3cd7808611.jpg resize: (1080, 1632) 1374453843 -2.9194391641504254 treat image : temp/1753893449_786480_1374453842_11fe57067114beff0476e2cfe2add0b6.jpg resize: (1080, 1632) 1374453842 -5.104883742855551 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.03039693832397461 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.03417849540710449 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03149056434631348 save missing photos in datou_result : time spend for datou_step_exec : 15.534008264541626 time spend to save output : 0.11062788963317871 total time spend for step 1 : 15.644636154174805 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.24user 3.69system 0:22.15elapsed 80%CPU (0avgtext+0avgdata 138508maxresident)k 80inputs+9216outputs (16major+241050minor)pagefaults 0swaps