-
Notifications
You must be signed in to change notification settings - Fork 100
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
How I solve the problem about r2v dataset and roomtype error #17
Comments
Hi,
We don't have permission to share the raw image data, so please download
the LIFULL dataset from their official site.
Best,
ZENG Zhiliang
…On Thu, 11 Nov 2021 at 09:53, Krus ***@***.***> wrote:
hi, I can not find any train-input-img in r2v [image: image]
<https://user-images.githubusercontent.com/43697342/141139810-205c7f30-7d49-4efc-ba06-b6427a6f6186.png>
I remember the "train input image" is these "_multi" images.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADKIF4MNQ4UYQNVPN24LBALULMO2DANCNFSM45B3XMVQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
ok, thanks a lot
…---Original---
From: ***@***.***>
Date: Thu, Nov 11, 2021 20:07 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [zlzeng/DeepFloorplan] How I solve the problem about r2v dataset and roomtype error (#17)
Hi,
We don't have permission to share the raw image data, so please download
the LIFULL dataset from their official site.
Best,
ZENG Zhiliang
On Thu, 11 Nov 2021 at 09:53, Krus ***@***.***> wrote:
> hi, I can not find any train-input-img in r2v [image: image]
> <https://user-images.githubusercontent.com/43697342/141139810-205c7f30-7d49-4efc-ba06-b6427a6f6186.png>
>
> I remember the "train input image" is these "_multi" images.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#17 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ADKIF4MNQ4UYQNVPN24LBALULMO2DANCNFSM45B3XMVQ>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
hi, if I want to get the R2V data set , Who should I send the application email to? THX
…------------------ 原始邮件 ------------------
发件人: "zlzeng/DeepFloorplan" ***@***.***>;
发送时间: 2021年11月11日(星期四) 晚上8:07
***@***.***>;
***@***.******@***.***>;
主题: Re: [zlzeng/DeepFloorplan] How I solve the problem about r2v dataset and roomtype error (#17)
Hi,
We don't have permission to share the raw image data, so please download
the LIFULL dataset from their official site.
Best,
ZENG Zhiliang
On Thu, 11 Nov 2021 at 09:53, Krus ***@***.***> wrote:
> hi, I can not find any train-input-img in r2v [image: image]
> <https://user-images.githubusercontent.com/43697342/141139810-205c7f30-7d49-4efc-ba06-b6427a6f6186.png>
>
> I remember the "train input image" is these "_multi" images.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#17 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ADKIF4MNQ4UYQNVPN24LBALULMO2DANCNFSM45B3XMVQ>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all, thanks to @zlzeng sent me txt of origin name by correct order, which give me feasibility to modify these files into correct correspondence. If you need the raw txt, check the file below.
test.txt
train.txt
val.txt
If you don't want to know what happens, just find the summary in the end.
To train model with r2v dataset, we need to correct the correspondence in txt file and change a little bit code. Let's see how to get through this. You can download r2v origin data from here.
Modify txt file
First I merged zlzeng's txt and project's txt, the result looks like:
Then I try to run
main.py --phase test
, it works well but when I check./out
directory, I found that results were overwritten by itself because of the name of origin file is almost the same like 0001.jpg. So we have to change name of images and path in txt.I write a simple script to do this task:
Before running the script below, you should download those files and put it into
./dataset
r2v_train.txt
r2v_test.txt
When I run this script I got an IO Error so I add try block to figure out what happened:
Seem like we loss 10 images. I checked directory and find out that there are ten duplication usages in txt file. These ten images are used in both training and test task.
To solve this problem, we have three choices (I choose solution 2)
Finally, we have correct txt file and ready for training. Before training in large dataset, you should check the output of model whether room type can be predicted.
Modify code
If the room type can't be predicted, replace
self.loss_type = 'balanced'
in main.py withself.loss_type = ''
. More information please check this issue.Simple version
To summarize, you should
./dataset
r2v_train.txt
r2v_test.txt
Those are the steps of training and validation in this project
./utils/create_tfrecord.py
to create tfrecord of data (r2v or r3d)./main.py --phase train
(sr2v or r3d)./main.py --phase test
(r2v or r3d)./out
./scores.py
for calculate ACC and IoUHope helpful.
Please reply if there are any mistake or suggestion.
The text was updated successfully, but these errors were encountered: