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

Train data #2

Closed
LeonCurry opened this issue Aug 26, 2019 · 9 comments
Closed

Train data #2

LeonCurry opened this issue Aug 26, 2019 · 9 comments

Comments

@LeonCurry
Copy link

@konstantg I have check the code. I am sorry to bother you. I want to know the specific information of the train data, such as the format of the train data, the bits of images, and so on. Thanks for your patience.

@konstantg
Copy link
Owner

@LeonCurry Please have a look at the data folder of the project for some examples. The train data are .tif files and the masks are .png.

@LeonCurry
Copy link
Author

Dear @konstantg ,
I have read your neuralgym files carefully. I have a question, can you explain these lines(here and here).
When I modified the code according to your two lines, I can run train.py. But there will be an error when I use this img = tf.reshape(img,[img.shape[0],img.shape[1],1]. Can you explain this question? Looking forward to your reply.

@LeonCurry
Copy link
Author

img = tf.reshape(img,[img.shape[0],img.shape[1],1])

@tangeroo
Copy link

@LeonCurry no such file or directory:‘data/train_shuffled.flist’.Have you ever met this problem?How did you fix it?

@LeonCurry
Copy link
Author

You can see here. @tangeroo

@tangeroo
Copy link

@LeonCurry thank you very much

@LeonCurry
Copy link
Author

Can I ask you a question? Does your training data just have oslo.tif, bergen.tif and trondheim.tif? And then random crop from this three tif images? @konstantg

@konstantg
Copy link
Owner

@LeonCurry Yes, that is right. It was my workaround for this project. If you wish to work with a set of images you can look at the original image inpanting repository.

@LP429
Copy link

LP429 commented Oct 7, 2020

Hi, @LeonCurry! How is your work going? I'm also working on this but I don't know how to change data_from_fnames.py and can't run train.py. Can you give me some advice? Thank you very much!

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

4 participants