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 : 1562165 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 : 575>100 please execute split_portfolio.py -i 20423330 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2574214'] with mtr_portfolio_ids : ['20423330'] and first list_photo_ids : [] new path : /proc/1562165/ 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.3290047645568848 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 Tue Feb 11 07:22: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/1739254947_1562165_1336733924_88d66873fcb379f36577c24fd11f499a.jpg resize: (1080, 1632) 1336733924 -6.584870059860023 treat image : temp/1739254947_1562165_1336733904_81fe1b522c18840d0defae405a1ceb75.jpg resize: (1080, 1632) 1336733904 -6.63400918536108 treat image : temp/1739254947_1562165_1336733870_61afac14b8374aa722070aaabe4557c6.jpg resize: (1080, 1632) 1336733870 -6.819408751387058 treat image : temp/1739254947_1562165_1336733846_359a9e9b6602c50058334f6d45cec22a.jpg resize: (1080, 1632) 1336733846 -6.4181357326911135 treat image : temp/1739254947_1562165_1336733757_7cffdf4ae0abf66f27c7ff523541f9a2.jpg resize: (1080, 1632) 1336733757 -6.501720208734383 treat image : temp/1739254947_1562165_1336733619_0feb37c7a6c181470da45b92136f00f5.jpg resize: (1080, 1632) 1336733619 -7.100687966215485 treat image : temp/1739254947_1562165_1336733615_5d90a1def42a1ef34da8fedbd6f4c048.jpg resize: (1080, 1632) 1336733615 -6.895498860672103 treat image : temp/1739254947_1562165_1336733612_aaf8b0aeb779d9fc470ce17217dd5463.jpg resize: (1080, 1632) 1336733612 -5.896792465486956 treat image : temp/1739254947_1562165_1336733610_fe2b5e38c86777729186d0841615bc9b.jpg resize: (1080, 1632) 1336733610 -6.477098370936156 treat image : temp/1739254947_1562165_1336733608_2f093d2561f99a06640e19fba73f25fe.jpg resize: (1080, 1632) 1336733608 -5.326129614485244 treat image : temp/1739254947_1562165_1336733605_62e4607c2b9f050d7eb4f29391a8c68b.jpg resize: (1080, 1632) 1336733605 -6.744865773194783 treat image : temp/1739254947_1562165_1336733506_cef45a719fe9bb99221448c7a1f58b77.jpg resize: (1080, 1632) 1336733506 -5.035146362248086 treat image : temp/1739254947_1562165_1336733505_2ad0b42ad61ad00937d0f91eacd82fef.jpg resize: (1080, 1632) 1336733505 -5.035146362248086 treat image : temp/1739254947_1562165_1336733501_9ba373aca4daa24d91d07dbeab7681c7.jpg resize: (1080, 1632) 1336733501 -1.9960381147865935 treat image : temp/1739254947_1562165_1336733500_6e55e97c3f2750c2e9f9d7b4b0dbb89f.jpg resize: (1080, 1632) 1336733500 -1.9960381147865935 treat image : temp/1739254947_1562165_1336733496_0d6f48cd8c5e2302e5798bcff1fb6891.jpg resize: (1080, 1632) 1336733496 -4.6005917681515704 treat image : temp/1739254947_1562165_1336733494_cb1dfd1a4287276933a962e56cc42d1b.jpg resize: (1080, 1632) 1336733494 -6.136108624003231 treat image : temp/1739254947_1562165_1336733491_f9b3f7482026f1f9681d6ddc42be4ff9.jpg resize: (1080, 1632) 1336733491 -5.078945179830078 treat image : temp/1739254947_1562165_1336733488_fec7be2b2b0bc67234efc522a1e9be6c.jpg resize: (1080, 1632) 1336733488 -2.2166279288081094 treat image : temp/1739254947_1562165_1336733486_6f1cda280c1cefe6ebf2b901a72da873.jpg resize: (1080, 1632) 1336733486 -1.4323499351763858 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.02960968017578125 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.028928756713867188 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.035564422607421875 save missing photos in datou_result : time spend for datou_step_exec : 13.80903148651123 time spend to save output : 0.10612249374389648 total time spend for step 1 : 13.915153980255127 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.95user 1.59system 0:19.40elapsed 85%CPU (0avgtext+0avgdata 137776maxresident)k 45776inputs+11456outputs (155major+122581minor)pagefaults 0swaps