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

th not found. sh demo/flowers_demo.sh #1

Open
ast1997 opened this issue Feb 13, 2020 · 12 comments
Open

th not found. sh demo/flowers_demo.sh #1

ast1997 opened this issue Feb 13, 2020 · 12 comments

Comments

@ast1997
Copy link
Owner

ast1997 commented Feb 13, 2020

I have installed torch. but still got this error. @akhilvasvani please help me in this.

@akhilvasvani
Copy link
Contributor

akhilvasvani commented Feb 13, 2020

Hi @ast1997,
Quick question (just want to rule something out), did you type in chmod +x demo/flowers_demo.sh before you typed in ./demo/flowers_demo.sh?

@ast1997
Copy link
Owner Author

ast1997 commented Feb 13, 2020

no

@akhilvasvani
Copy link
Contributor

Ok, let me know what happens after you do

@ast1997
Copy link
Owner Author

ast1997 commented Feb 13, 2020

still i got the same error
image

@ast1997
Copy link
Owner Author

ast1997 commented Feb 13, 2020

when i type th in command line it gave me /bin/bash: th: command not found. May be i have to install torch again. Please tell me the steps to install it.

@ast1997
Copy link
Owner Author

ast1997 commented Feb 14, 2020

I installed torch successfully. But I got another error
image

@akhilvasvani
Copy link
Contributor

Did you train the flower model (Stage I & Stage II)? I am also assuming that you have properly downloaded the example_captions.t7. Is that true?

@ast1997
Copy link
Owner Author

ast1997 commented Feb 14, 2020

I used pre trained data set.

@ast1997
Copy link
Owner Author

ast1997 commented Feb 14, 2020

On the other hand i'm training the flower model. I got the below error in stage-II training.
image

@ast1997
Copy link
Owner Author

ast1997 commented Feb 14, 2020

I'm thinking that i trained stage-I succesfully.
image
Can I see stage-I output? If so how can I see it

@ast1997
Copy link
Owner Author

ast1997 commented Feb 18, 2020

I installed torch successfully. But I got another error
image

I think the error is with this line fnt = ImageFont.truetype('Pillow/Tests/fonts/FreeMono.ttf', 50)

@akhilvasvani
Copy link
Contributor

akhilvasvani commented May 10, 2020

Did you install the PIL package? Also what does your output look like?

if not, perform pip3 install pil on your command line

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