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 : 1717872 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 : 3618>100 please execute split_portfolio.py -i 21608215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2682218'] with mtr_portfolio_ids : ['21608215'] and first list_photo_ids : [] new path : /proc/1717872/ 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.156750202178955 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 Sat Mar 22 17: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/1742660246_1717872_1346457812_371206aec718c94aa31b92c4f04c662d.jpg resize: (1080, 1632) 1346457812 -6.453079199684687 treat image : temp/1742660246_1717872_1346457786_32344c4336b4b60f845a9b84affa291b.jpg resize: (1080, 1632) 1346457786 -6.770756189540454 treat image : temp/1742660246_1717872_1346457754_7f29d6f3136682df8cd82354195c4b34.jpg resize: (1080, 1632) 1346457754 -6.587598983904789 treat image : temp/1742660246_1717872_1346457674_f72427b9619bf3ebd11ad9581dd6a875.jpg resize: (1080, 1632) 1346457674 -3.170885692394067 treat image : temp/1742660246_1717872_1346457510_d78b3d7599053b52b5640994887bdcc1.jpg resize: (1080, 1632) 1346457510 -6.0641656342281225 treat image : temp/1742660246_1717872_1346457399_dc3d7d31674457c07565e5e953328fdc.jpg resize: (1080, 1632) 1346457399 -1.732397547619951 treat image : temp/1742660246_1717872_1346457196_ee8bb1cffb55b2545f22922f622981ea.jpg resize: (1080, 1632) 1346457196 -2.0784022853612103 treat image : temp/1742660246_1717872_1346457123_b8d81f809fa3dad0fae3853e391b6b1e.jpg resize: (1080, 1632) 1346457123 -3.69299385571866 treat image : temp/1742660246_1717872_1346457086_4b2dccfc17cee0a114f7a451f346eda4.jpg resize: (1080, 1632) 1346457086 -2.364609671328637 treat image : temp/1742660246_1717872_1346457058_edfb7da502852ea30a254c6f85881aa8.jpg resize: (1080, 1632) 1346457058 -3.790529510083236 treat image : temp/1742660246_1717872_1346456914_90cae1e6807d8b5908b3ec35ee0e04d7.jpg resize: (1080, 1632) 1346456914 -5.877133277904825 treat image : temp/1742660246_1717872_1346456868_fcfcc78ed71ea2bed3c3411c77ed9423.jpg resize: (1080, 1632) 1346456868 -4.3090766505778495 treat image : temp/1742660246_1717872_1346456858_14a09e2f4c379aadb54e480618a51e77.jpg resize: (1080, 1632) 1346456858 -6.049129315432757 treat image : temp/1742660246_1717872_1346456856_b1f72097b0bd48aae4be90a9c6534075.jpg resize: (1080, 1632) 1346456856 -6.110858583388095 treat image : temp/1742660246_1717872_1346456853_95a276ff328a21915f7f49cd38cc969c.jpg resize: (1080, 1632) 1346456853 -6.292115295024494 treat image : temp/1742660246_1717872_1346456832_f360ce9bd0d5a3a75fbda57113a8fb4c.jpg resize: (1080, 1632) 1346456832 -4.802055681302765 treat image : temp/1742660246_1717872_1346456802_3344c7b69adb289acc07d156ff7ee7f1.jpg resize: (1080, 1632) 1346456802 -4.779631174076646 treat image : temp/1742660246_1717872_1346456772_528c6d827abae86d9c7689cd68af7f07.jpg resize: (1080, 1632) 1346456772 -6.651766008864117 treat image : temp/1742660246_1717872_1346456670_82065d2f19380e7ea821336c61ce36ff.jpg resize: (1080, 1632) 1346456670 -6.431065634722712 treat image : temp/1742660246_1717872_1346456632_1a321df2bf3b83658793503e4ecf9f82.jpg resize: (1080, 1632) 1346456632 -4.290492680536844 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.013037919998168945 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.012695550918579102 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014837026596069336 save missing photos in datou_result : time spend for datou_step_exec : 14.933822393417358 time spend to save output : 0.04509282112121582 total time spend for step 1 : 14.978915214538574 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.97user 3.70system 0:18.72elapsed 94%CPU (0avgtext+0avgdata 139880maxresident)k 128inputs+10920outputs (15major+257713minor)pagefaults 0swaps