human seg

This commit is contained in:
NathanUA 2021-02-06 20:42:50 -07:00
parent 7e22eab9ff
commit bbdf3a581d

View File

@ -56,7 +56,7 @@ def main():
model_name='u2net'
image_dir = os.path.join(os.getcwd(), 'test_data', 'test_human_images')#'test_human_images')#'test_portrait_images', 'your_portrait_im')
image_dir = os.path.join(os.getcwd(), 'test_data', 'test_human_images')
prediction_dir = os.path.join(os.getcwd(), 'test_data', 'test_human_images' + '_results' + os.sep)
model_dir = os.path.join(os.getcwd(), 'saved_models', model_name+'_human_seg', model_name + '_human_seg.pth')