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 : 3129090 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 : 2052>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/3129090/ 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.20953106880188 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 15:17:28 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/1747833446_3129090_1360044496_0256757f0edb9d7b182620cdfe41d90d.jpg resize: (1080, 1632) 1360044496 -3.2857535301796785 treat image : temp/1747833446_3129090_1360044492_d353e24e5b9d756a76e66f9bae8f27f9.jpg resize: (1080, 1632) 1360044492 -6.235220951527416 treat image : temp/1747833446_3129090_1360044489_bd0a25076d5f45d0e626e322a52dc597.jpg resize: (1080, 1632) 1360044489 -5.993142553663465 treat image : temp/1747833446_3129090_1360044487_be8362687b760307b7bf3ef81aa60df9.jpg resize: (1080, 1632) 1360044487 -2.7763840590312925 treat image : temp/1747833446_3129090_1360044462_cffe03dda511169a8d1414034fe567bb.jpg resize: (1080, 1632) 1360044462 -6.380708577630026 treat image : temp/1747833446_3129090_1360044459_8b3dcca61f8f9021d6a50f86af9cdb2b.jpg resize: (1080, 1632) 1360044459 -6.49727534607983 treat image : temp/1747833446_3129090_1360044456_27d560274ac43dee0b75dc62645d3e88.jpg resize: (1080, 1632) 1360044456 -3.457086790667265 treat image : temp/1747833446_3129090_1360044453_89191477c3ffbddaaf92264dccf7de2c.jpg resize: (1080, 1632) 1360044453 -5.418960654073189 treat image : temp/1747833446_3129090_1360044449_47fdfb4668f4ccdbf2828fc60eeed872.jpg resize: (1080, 1632) 1360044449 -5.4570727638018495 treat image : temp/1747833446_3129090_1360044446_09ba6b5b122062e19eacad630f18d5e9.jpg resize: (1080, 1632) 1360044446 -5.542076800107395 treat image : temp/1747833446_3129090_1360044415_bf0317496de18851a9eab361a8a0314b.jpg resize: (1080, 1632) 1360044415 -5.772684705386662 treat image : temp/1747833446_3129090_1360044413_fbdaf927b487d0b72eb4eccc6f709255.jpg resize: (1080, 1632) 1360044413 -3.978768864192746 treat image : temp/1747833446_3129090_1360044408_0e89936dbb606cb6183dc12e540eedb9.jpg resize: (1080, 1632) 1360044408 -1.0949539684288112 treat image : temp/1747833446_3129090_1360044405_3f69aa7d2cbc1120177e8ecf83ce79b5.jpg resize: (1080, 1632) 1360044405 -1.433164635933894 treat image : temp/1747833446_3129090_1360044389_01fc6435c7ca44b18c0dd1eafb334744.jpg resize: (1080, 1632) 1360044389 -3.9923455439245044 treat image : temp/1747833446_3129090_1360044385_9e3bf1995b2618c563ba5c78504733e8.jpg resize: (1080, 1632) 1360044385 -4.931670452044873 treat image : temp/1747833446_3129090_1360044382_344245d9ccd9cdd74c1b944cda6ce04c.jpg resize: (1080, 1632) 1360044382 -4.085174009677525 treat image : temp/1747833446_3129090_1360044371_243d6a9c8c8f0775b5836d7c8881b232.jpg resize: (1080, 1632) 1360044371 -5.551404028520424 treat image : temp/1747833446_3129090_1360044337_06413d204a360ebc8f2f15408f37b716.jpg resize: (1080, 1632) 1360044337 -5.805147414314145 treat image : temp/1747833446_3129090_1360044323_ecd361f89b7bf0dde3d0f07de9988d4e.jpg resize: (1080, 1632) 1360044323 -5.2995383880975515 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.014803409576416016 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.01393890380859375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015343666076660156 save missing photos in datou_result : time spend for datou_step_exec : 17.404704809188843 time spend to save output : 0.04968118667602539 total time spend for step 1 : 17.454385995864868 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.16user 4.61system 0:21.11elapsed 93%CPU (0avgtext+0avgdata 138840maxresident)k 176inputs+10224outputs (7major+260470minor)pagefaults 0swaps