-
Notifications
You must be signed in to change notification settings - Fork 262
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
ValueError:Cannot feed value of shape(10,0)for Tensor u'Placeholder:0' #47
Comments
That was because your program didn't read the images correctly. |
Thank you @Qing25 for your answer, Do you mean my UCF101( has converted to images ) is in the wrong folder? Now my UCF101 is in |
@lixun95 Let me walk you through one step at a time. Assuming you have extracted C3D-tensorflow to your Documents directory on a Linux system such us Ubuntu, your full path will become ~/Documents/C3D-tensorflow. Use the Terminal to get to this directory
I am trying to have that modification done and submitted as a contribution but I am a little time contained now. However, If you ran into some Issues on python 3, please let us know. I will be glad to share my working code with you. Be sure to also have crop_mean.npy and sports1m_finetuning_ucf101.model files in the ~/Documents/C3D-tensorflow directory if you choose to use the author's codes without modification. Cheers! |
@lixun95 Well, I suggest you view the image path yourself by opening |
Thank you very much! @rocksyne
Then I realize it need python 2, I install Anaconda 2 and try to run this program. From @Qing25 and your help I think I put UCF101 in a wrong place, I will retry it, thank you all! As you say: I need sports1m_finetuning_ucf101.model in my C3D directory, Should I downloads and put it in the directory first time I train C3D model ? |
@lixun95 To download the sports1m_finetuning_ucf101.model got to There are two files.
Download and put both in the C3D-tensorflow extracted folder. You really need these! All two! To help you rectify the problems, download these files of mine (replacefile.zip) and replace the content in C3D-tensorflow That should solve your problem. It took me a while to figure this out so I am happy to share with you. Cheers! |
@Caroline1994 I'm starting to look at this repo so may be wrong here but this is what I think regarding your issue:
|
Hi, @JulioEndara |
@Caroline1994 it's documented in the readme file... read until the end... it's at the bottom in a table. All the models the author mentions are there. Attached screenshot. |
@JulioEndara Thank you very much |
@JulioEndara I have download it successfully,Thank you very much! |
@Caroline1994 that's odd, they are hosted in drop and baiduyun, should work from anywhere I cannot email them to you because they are too large for email (~300mb). I believe this topic has now forked into a different conversation. I suggest you create a new issue. |
same problem. Solved. |
I also had this problem, mainly because of address errors of ‘train.list’ and ‘test.list’ in train_c3d_ucf101.py, so I solved the problem by removing 'list/' from the original ‘filename’. |
@Shiny128 Are you training from scratch or you are transfer learning? |
Hi, |
Thank you ! It really works! |
Thanks for authors' code.
When I run
train_c3d_ucf101.py
to train the network, Error shows thatAnd this is Traceback
![277825364](https://user-images.githubusercontent.com/32358982/37640157-46922420-2c4f-11e8-81dd-fe0c4c4dc5ac.jpg)
I don't know how to solve this problem, could you tell me?
The text was updated successfully, but these errors were encountered: