Skip to content
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

代码运行的环境能提供一下吗 #4

Open
daqiudi opened this issue Oct 13, 2023 · 8 comments
Open

代码运行的环境能提供一下吗 #4

daqiudi opened this issue Oct 13, 2023 · 8 comments

Comments

@daqiudi
Copy link

daqiudi commented Oct 13, 2023

No description provided.

@tyb311
Copy link
Owner

tyb311 commented Oct 13, 2023 via email

@daqiudi
Copy link
Author

daqiudi commented Oct 13, 2023

Python3.8 PyTorch1.13.0

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年10月13日(星期五) 下午3:22 收件人: @.>; 抄送: @.>; 主题: [tyb311/SkelCon] 代码运行的环境能提供一下吗 (Issue #4) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.>

可以把数据集drive文件路径截图看一下吗,看代码里应该是有四个文件夹存放数据,但是实际上DRIVE数据集没有对应的数据。

@tyb311
Copy link
Owner

tyb311 commented Oct 13, 2023 via email

@daqiudi
Copy link
Author

daqiudi commented Oct 13, 2023

文件夹有这些(第二个图),文件夹里面的图片是按照.npy格式存储的(第一个图),可以对照着源代码理解

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年10月13日(星期五) 下午4:49 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [tyb311/SkelCon] 代码运行的环境能提供一下吗 (Issue #4) Python3.8 PyTorch1.13.0 … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年10月13日(星期五) 下午3:22 收件人: @.>; 抄送: @.>; 主题: [tyb311/SkelCon] 代码运行的环境能提供一下吗 (Issue #4) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.> 可以把数据集drive文件路径截图看一下吗,看代码里应该是有四个文件夹存放数据,但是实际上DRIVE数据集没有对应的数据。 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

我看了,并没有你说的数据集的文件路径的图像,如果你的DRIVE数据集是提前处理成npy的,那能提供一下DRIVE数据从图像到npy格式的处理脚本吗

@tyb311
Copy link
Owner

tyb311 commented Oct 13, 2023 via email

@daqiudi
Copy link
Author

daqiudi commented Oct 13, 2023

img = cv2.imread(path_img) np.save('img', img)

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年10月13日(星期五) 晚上6:06 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [tyb311/SkelCon] 代码运行的环境能提供一下吗 (Issue #4) 文件夹有这些(第二个图),文件夹里面的图片是按照.npy格式存储的(第一个图),可以对照着源代码理解 … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年10月13日(星期五) 下午4:49 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [tyb311/SkelCon] 代码运行的环境能提供一下吗 (Issue #4) Python3.8 PyTorch1.13.0 … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年10月13日(星期五) 下午3:22 收件人: @.>; 抄送: @.>; 主题: [tyb311/SkelCon] 代码运行的环境能提供一下吗 (Issue #4) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.> 可以把数据集drive文件路径截图看一下吗,看代码里应该是有四个文件夹存放数据,但是实际上DRIVE数据集没有对应的数据。 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> 我看了,并没有你说的数据集的文件路径的图像,如果你的DRIVE数据集是提前处理成npy的,那能提供一下DRIVE数据从图像到npy格式的处理脚本吗 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

	# 训练集
	imgs_train = self.readFolder(dbname, part='train', image='rgb')
	labs_train = self.readFolder(dbname, part='train', image='lab')
	fovs_train = self.readFolder(dbname, part='train', image='fov')
	skes_train = self.readFolder(dbname, part='train', image='ske')

您代码中在读取npy格式数据时候读取了这四个子文件夹(rgb,lab,fov,ske),但是实际上DRIVE数据集中并没有这些文件夹的数据,请问读取的这四个文件夹的数据是怎么来的,或者您提供的代码是不是跑其他数据集的而不是跑的DRIVE数据集呢

@tyb311
Copy link
Owner

tyb311 commented Oct 13, 2023 via email

@daqiudi
Copy link
Author

daqiudi commented Oct 13, 2023

你没有看懂我的论文,rgb存储的原图,lab存储的标签,fov存储的FieldofView,ske存储的骨架

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年10月13日(星期五) 晚上6:16 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [tyb311/SkelCon] 代码运行的环境能提供一下吗 (Issue #4) img = cv2.imread(path_img) np.save('img', img) … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年10月13日(星期五) 晚上6:06 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [tyb311/SkelCon] 代码运行的环境能提供一下吗 (Issue #4) 文件夹有这些(第二个图),文件夹里面的图片是按照.npy格式存储的(第一个图),可以对照着源代码理解 … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年10月13日(星期五) 下午4:49 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [tyb311/SkelCon] 代码运行的环境能提供一下吗 (Issue #4) Python3.8 PyTorch1.13.0 … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年10月13日(星期五) 下午3:22 收件人: @.>; 抄送: @.>; 主题: [tyb311/SkelCon] 代码运行的环境能提供一下吗 (Issue #4) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.> 可以把数据集drive文件路径截图看一下吗,看代码里应该是有四个文件夹存放数据,但是实际上DRIVE数据集没有对应的数据。 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> 我看了,并没有你说的数据集的文件路径的图像,如果你的DRIVE数据集是提前处理成npy的,那能提供一下DRIVE数据从图像到npy格式的处理脚本吗 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> # 训练集 imgs_train = self.readFolder(dbname, part='train', image='rgb') labs_train = self.readFolder(dbname, part='train', image='lab') fovs_train = self.readFolder(dbname, part='train', image='fov') skes_train = self.readFolder(dbname, part='train', image='ske') 您代码中在读取npy格式数据时候读取了这四个子文件夹(rgb,lab,fov,ske),但是实际上DRIVE数据集中并没有这些文件夹的数据,请问读取的这四个文件夹的数据是怎么来的,或者您提供的代码是不是跑其他数据集的而不是跑的DRIVE数据集呢 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

你的代码里是没有做这些处理啊,一上来就是直接读取的这四个文件夹,而从DRIVE数据集提供的图像是不能直接运行的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants