-
Notifications
You must be signed in to change notification settings - Fork 82
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
There is a problem when run my data #19
Comments
My Data is 28283. So I Just copy the model_def of FRGC to build my network architecture. Is this the reason of the trouble?Then,how to define my own network architecture to train the model on images with size 28*28? |
Yes, I think that might be the reason. FRGC is 32x32, so the output feature dimesion of the network might be wrong for you 28x28 images. You can try the architecture for MNIST, since it is also 28x28. |
Thanks for your answer, but there is still probelm when I tried architecture for MNIST: `online epoch # 0 [batchSize = 100] [learningRate = 0.01] WARNING: If you see a stack trace below, it doesn't point to the place where this error occurred. Please use only the one above. I think that It may be my data is three-channel RGB data. I found FRGC is the three-channel RGB data. Then I resize my data to 33232. But there is still trouble when I tried architecture for FRGC:
Do you know how to do? Or can you teach me how to build my network architecture. Especially, how to choose the parameters in the model_def? For example, how to choose the parameters of nInputPlanes, nOutputPlanes, nn.View, nn.Linear, nn.Normalize in the model_def? |
Hello, I'm waiting for your answer. Kindly favour me with an early reply. Thank you. |
Have you solved the problem? I think you need to convert you data to 3 channels. SInce the architecture for FRGC merely takes 3 channels as input. Also, please remember to give the groundtruth labels. If you do not have, then randomly initialize the labels in advance. |
Hi I have the same issue, ran it on the FRGC with 3 channels, but got
were you able to solve this? Thank you |
The problem is with the data, it needs to be in the correct format a 32float
|
I tried to run this code in my data. But I am having trouble when run my data:
/home/ai/torch/install/bin/luajit: train.lua:382: cuda runtime error (59) : device-side assert triggered at /tmp/luarocks_cutorch-scm-1-3009/cutorch/lib/THC/generic/THCTensorCopy.c:18 stack traceback: [C]: in function 'indexCopy' train.lua:382: in function 'organize_samples' train.lua:422: in function 'opfunc' /home/ai/torch/install/share/lua/5.1/optim/sgd.lua:44: in function 'sgd' train.lua:436: in function 'updateCNN' train.lua:487: in main chunk [C]: in function 'dofile' ...e/ai/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00406670
How to solve this problem?
I look forward to your response at your earliest convenience.
Thanks.
The text was updated successfully, but these errors were encountered: