Comments (1)
I find out what's wrong with it, not every class samples exist in train.list, in other words some calsses only exist in test.list. use python code below to generate train.list and test.list and replace the old one. you will get validation acc around 0.75-0.85
import os
import random
root = "D:/DataSets/UCF-101"
def get_img_list(path):
return [os.path.join(path,x) for x in os.listdir(path) ]
train = open("train.list",'w+')
test = open("test.list",'w+')
dirs = get_img_list(root)
for idx,dir in enumerate(dirs):
d = get_img_list(dir)
random.shuffle(d)
b = 0.2 * len(d)
for i in range(len(d)):
print(d[i])
if i < b:
print("hell")
test.write(d[i])
test.write(" "+str(idx)+'\n')
else:
train.write(d[i])
train.write(" "+str(idx)+'\n')
print(idx)
from c3d-tensorflow.
Related Issues (20)
- Before about the reshape of dimension transform issues HOT 1
- ValueError: Cannot feed value of shape (11, 16, 160, 160, 3) for Tensor 'Placeholder:0', which has shape '(12, 16, 160, 160, 3)' HOT 1
- train_c3d_ucf101.py
- predict_c3d_ucf101.py
- very very big loss values
- Could you give me a list as example? HOT 1
- ValueError: setting an array element with a sequence. HOT 1
- What is the difference between clip accuracy and video accuracy?
- Train with last checkpoint
- ERROR when using conv3d
- about how to use .meta or index
- about preprocessing HOT 7
- ResourceExhaustedError in train_c3d_ucf101.py HOT 2
- UnboundLocalError: local variable 'img_datas' referenced before assignment HOT 2
- the accuracy is always 0 HOT 2
- prototxt file for conv3d_deepnetA_sport1m_iter_1900000.caffemodel
- missunderstanding about .model file type HOT 1
- hou ge niubility HOT 1
- pi zhu is watching you
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from c3d-tensorflow.