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 : 2301718 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 : 2342>100 please execute split_portfolio.py -i 21962613 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2714916'] with mtr_portfolio_ids : ['21962613'] and first list_photo_ids : [] new path : /proc/2301718/ 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.2937722206115723 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 Apr 2 16:32: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/1743604349_2301718_1349508693_dfed5d617c8d854203992025efead627.jpg resize: (1080, 1632) 1349508693 -0.7248318647248407 treat image : temp/1743604349_2301718_1349508682_f5ecb30caa76349da65f047cc55cfd9f.jpg resize: (1080, 1632) 1349508682 -1.421565013981006 treat image : temp/1743604349_2301718_1349508666_d4d8e663ea7cecf2cd8e98cf606d229d.jpg resize: (1080, 1632) 1349508666 -5.875920775256535 treat image : temp/1743604349_2301718_1349508656_39e26b9cbc22fd5922104f93ace0570e.jpg resize: (1080, 1632) 1349508656 -6.138668814524852 treat image : temp/1743604349_2301718_1349508600_395287c8b4adbd8d6978058d86000436.jpg resize: (1080, 1632) 1349508600 -5.44150654188355 treat image : temp/1743604349_2301718_1349508560_09a65a77f1f5d25b83a6e621fe0f2b06.jpg resize: (1080, 1632) 1349508560 -4.433798038623378 treat image : temp/1743604349_2301718_1349508555_c87d030317a9dffd78844041bddef91f.jpg resize: (1080, 1632) 1349508555 -4.256798348913672 treat image : temp/1743604349_2301718_1349508552_5b2711a3c55e0e584fb6075444b145d4.jpg resize: (1080, 1632) 1349508552 -5.968124595412019 treat image : temp/1743604349_2301718_1349508547_bd309e65c78057646f1e396abe6c3459.jpg resize: (1080, 1632) 1349508547 -4.742986796102122 treat image : temp/1743604349_2301718_1349508491_3ff0fd54feabdacb81b2044c1650c37b.jpg resize: (1080, 1632) 1349508491 -4.686197080141158 treat image : temp/1743604349_2301718_1349508485_d0f464c48fb1186b1ba87265cb95722f.jpg resize: (1080, 1632) 1349508485 -4.9459615891430815 treat image : temp/1743604349_2301718_1349508473_2418ee1a573feda41658a5c457e5ecac.jpg resize: (1080, 1632) 1349508473 -4.797661917735531 treat image : temp/1743604349_2301718_1349508467_59e107599a9c01b3e51a7cb7d90bce71.jpg resize: (1080, 1632) 1349508467 -6.183281336214062 treat image : temp/1743604349_2301718_1349508463_01c4d4d1521e26ae9b929ae0734956bb.jpg resize: (1080, 1632) 1349508463 -4.667850579832558 treat image : temp/1743604349_2301718_1349508461_1393ffff23a74b53be022bd187120bb6.jpg resize: (1080, 1632) 1349508461 -5.64802293637986 treat image : temp/1743604349_2301718_1349499812_b972de01405a001e8142ee8f73711f8b.jpg resize: (1080, 1632) 1349499812 -5.669746350689486 treat image : temp/1743604349_2301718_1349499809_befaa2d2004aafd12c211c4bc6656534.jpg resize: (1080, 1632) 1349499809 -5.25927122155447 treat image : temp/1743604349_2301718_1349499806_b88208a874563e8a66a5968824863008.jpg resize: (1080, 1632) 1349499806 -4.475650649795245 treat image : temp/1743604349_2301718_1349499770_95abd1691894470c22bd8f39ff9aba76.jpg resize: (1080, 1632) 1349499770 -5.786268128429425 treat image : temp/1743604349_2301718_1349499768_3a324bc597b5f55bdf3a9bb3af4ae36d.jpg resize: (1080, 1632) 1349499768 -5.910385027358266 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.012794017791748047 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.10686421394348145 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01590752601623535 save missing photos in datou_result : time spend for datou_step_exec : 15.769472122192383 time spend to save output : 0.14042901992797852 total time spend for step 1 : 15.909901142120361 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.07user 3.20system 0:22.36elapsed 81%CPU (0avgtext+0avgdata 137996maxresident)k 264inputs+10280outputs (7major+259576minor)pagefaults 0swaps