-
Notifications
You must be signed in to change notification settings - Fork 16
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
Error while training #16
Comments
did you try added a "/" to the end of your path_prefix? |
and maybe your model_dir, not sure. I know |
This does not look like an error message from |
Thank you both for the help. I've tried both of your suggestions. Mikey following your suggestion to use
It appears that tensorflow was masking the |
It seems like for some reason, there are issues when you try to use the package when your files are on an external drive. (I'm assuming that your F drive is external?) One potential solution is to move and rename your data_info.csv file manually. So rename this file You also might want to try setting |
@kow10120 , did you get this to work? The fix @mikeyEcology suggested (rename the .csv to |
Thank you for the advice, sorry I have not had much free time to devote to this recently. I did not get it to work, but I may need to spend more time carefully combing through the large excel file I'm working with and the actual photos to ensure there are no discrepancies. The joys of large data sets. |
Hopefully you're not going through the file names manually? There are ways to do this in Unix that can save you a lot of time. In Unix, I would go to the directory where I have the files and type |
Had this same error and just wanted to say that changing the name to data_info_train.csv worked. I ran into another error I'm hoping might be obvious in train. I'm guessing this is to do with the num_classes argument? I have 23 classes that I'm trying to train with, have a missed a step somewhere to specify this? I have only done so in the line "python_loc = "C:\Users\User\Anaconda3\",num_classes = 23, log_dir_train = "traindir" so far Assign requires shapes of both tensors to match. lhs shape= [23] rhs shape= [28] |
@tundraboyce did you specify |
This was previously not explained in the readme. I just updated it so that this is more clear:
|
That sorted it, thanks again! Appreciate the responses. Now I just have " |
Hey @Nova-Scotia since you're the Windows expert on MLWIC, I'm wondering if you can try something for me when you get a chance. I updated |
Hi @mikeyEcology , sure, I can do that - might take me a couple days to get to it (busy week!) but I'll keep you posted. Let me know if another user gets to it first! Erica |
Thank you @Nova-Scotia ! |
Hi again. Did a quick check of in
but then later in the code it calls for
Maybe just a typo when copy-pasting from |
I actually managed to get train to work this morning and I have another computer chugging away on it now. The issue you described was pretty spot on. Train was looking for a data_info_train.csv regardless of what was called in the code. I was trying to call a different file (e.g., data_info_pilot.csv) but the code would only work, and only look for "data_info_train" in the L1 folder. . Also my out-of-range error came from num_classes = 23: 23+0 = 24, duh. Brain freeze. I'll let you know how well classify works with this model on my images. |
Just an update - the |
Thank you @Nova-Scotia and @tundraboyce for testing this. I corrected the error that you suggested with classify. That's what I get for trying to copy and paste. |
Hi! The input I'm using is:
and I get the following output: Can somebody help me with this? |
Hi @pirocha,
|
Hi @mikeyEcology , |
Did you try also re-setting your path prefix to: |
Hi Mikeyecology,
You mean without the slash in the end, don't you? Yes, I tried both ways.
I tested the train command with the example you provided and it worked
perfectly, so it had to be something with my files. I re-checked my
'data_info_train.csv' and found some NA's in the species column. I'm sorry
for bothering you and it was only a mistake I did!
Anyway, apparently it's running now.
Thank you very much,
Filipe
mikey_t <notifications@github.com> escreveu no dia domingo, 1/09/2019 à(s)
12:52:
… Did you try also re-setting your path prefix to:
path_prefix =
"C:/Users/User/Documents/CameraTrap/MLWIC_examples-master/images_africa
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16?email_source=notifications&email_token=AMAR54FGZB3AJG6O2NBFWNDQHOUJFA5CNFSM4G2E36UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5UAWSI#issuecomment-526912329>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMAR54DVC44OVFX3XRR2NUTQHOUJFANCNFSM4G2E36UA>
.
|
Ok. No worries. Yes-NAs in the input file will cause errors. |
Hello all,
I am trying to train a model on a Windows computer. When I input the following:
I get the following output:
Does anyone have experience with this?
The text was updated successfully, but these errors were encountered: