-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could you provide your trained model ? #4
Comments
python train.py |
I
Can you get the trained model ? I also want to directly test with the auther's model, if you have got it ,please share it to me. Thank you a lot! |
Hello, can you read this code in data. py into the picture path in train - pair. txt?
The code is as follows:
def getTrainGenerator(file_path, target_size, batch_size, israndom=False):
f = open(file_path, 'r')
trainlist = f.readlines()
f.close()
while True:
random.shuffle(trainlist)
batch_x = []
batch_y = []
for name in trainlist:
p = name.strip('\r\n').split(' ')
img_path = p[0]
mask_path = p[1]
x = cv2.imread(img_path)
y = cv2.imread(mask_path)
I directly gave a picture of the path, but ran for more than a day without output, how do you run?
for name in trainlist:
#p = name.strip('\r\n').split(' ')
#img_path = p[0]
img_path=‘/home/lthpc/cvpr/DUTS1/ILSVRC2012_test_00000003.jpg’
#mask_path = p[1]
mask_path =‘/home/lthpc/cvpr/DUTS2/ILSVRC2012_test_00000003.png’
…------------------ 原始邮件 ------------------
发件人: "guotengda111"<notifications@github.com>;
发送时间: 2019年6月2日(星期天) 上午10:33
收件人: "CaitinZhao/cvpr2019_Pyramid-Feature-Attention-Network-for-Saliency-detection"<cvpr2019_Pyramid-Feature-Attention-Network-for-Saliency-detection@noreply.github.com>;
抄送: "1789068711"<1789068711@qq.com>;"Comment"<comment@noreply.github.com>;
主题: Re:[CaitinZhao/cvpr2019_Pyramid-Feature-Attention-Network-for-Saliency-detection]Could you provide your trained model ? (#4)
I
Dear author,
Thanks for your great work !
Could you provide the trained VGG16 model that I want to directly test on my personal data ?
Thank you !
Can you get the trained mopdel ? I also want to directly test with the auther's model, if you have got it ,please share it to me. Thank you a lot!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi @happycoding1996 @guotengda111 and @zwm19950414 , You can check my PyTorch implementation of this paper here. |
Dear author,
Thanks for your great work !
Could you provide the trained VGG16 model that I want to directly test on my personal data ?
Thank you !
The text was updated successfully, but these errors were encountered: