Code Monkey home page Code Monkey logo

deep-learning-activity-recognition's Introduction

Hi 👋, I'm Jindong Wang

jindongwang's github stats

  • 😄 Hi there, this is Jindong Wang. I am a Senior Researcher at Microsoft Research Asia (MSRA).
  • 🔭 My research interest includes robust machine learning, transfer learning, out-of-distribution generalization, machine learning, and other applications.
  • 👯 I am open to collaboration, feel free to contact me via Email (👈)!
  • ⚡ Please check my homepage for my CV and latest update!

deep-learning-activity-recognition's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deep-learning-activity-recognition's Issues

Using my own dataset

I am interested to use my own dataset so how can I preprocess it?Do kindly elaborate.

Bug in code

Hello, you have a bug in your code, when you use nn.CrossEntropyLoss() it automatically applies softmax function, so you should input just raw outputs,but instead you input vector in softmax layer and then you apply it to nn.CrossEntropyLoss() loss, that is mistake. here is link:

criterion = nn.CrossEntropyLoss()

tensorflow.py的命名要换一下,否则会报错"module 'tensorflow' has no attribute 'Variable'"

tensorflow.py的命名要换一下, 不能使用"tensorflow", 否则会找不到真正的tensorflow package。
导致各种报错.

Traceback (most recent call last):
File "/Downloads/Deep-learning-activity-recognition-master/tensorflow.py", line 199, in
network(X_train, Y_train, X_test, Y_test)
File "/Downloads/Deep-learning-activity-recognition-master/tensorflow.py", line 154, in network
config = Config(X_train, Y_train)
File "/Downloads/Deep-learning-activity-recognition-master/tensorflow.py", line 102, in init
'wc1': tf.Variable(tf.random_normal([1, self.kernel_size, self.n_channel, self.depth])),
AttributeError: module 'tensorflow' has no attribute 'Variable'

输入channel为何是9?

X, Y and keep_prob are three feeds to the network

X = tf.placeholder(tf.float32, shape=[None, config.input_height, config.input_width, config.n_channel])

你好:为何是9呢?视频 切成一帧zhen?

Work in realtime?

Hi, this is more of a question. Can I use this to make it work in real time? Like take frames from the webcam video and do analysis?
Thanks

RuntimeError: The size of tensor a (128) must match the size of tensor b (9) at non-singleton dimension 0

Traceback (most recent call last):
File "main_pytorch.py", line 90, in
train(model, optimizer, train_loader, test_loader)
File "main_pytorch.py", line 33, in train
for index, (sample, target) in enumerate(train_loader):
File "/usr/local/lib/python3.5/dist-packages/torch/utils/data/dataloader.py", line 560, in next
batch = self.collate_fn([self.dataset[i] for i in indices])
File "/usr/local/lib/python3.5/dist-packages/torch/utils/data/dataloader.py", line 560, in
batch = self.collate_fn([self.dataset[i] for i in indices])
File "/root/tcxia/Deep-learning-activity-recognition/pytorch/data_preprocess.py", line 93, in getitem
return self.T(sample), target
File "/usr/local/lib/python3.5/dist-packages/torchvision/transforms/transforms.py", line 61, in call
img = t(img)
File "/usr/local/lib/python3.5/dist-packages/torchvision/transforms/transforms.py", line 164, in call
return F.normalize(tensor, self.mean, self.std, self.inplace)
File "/usr/local/lib/python3.5/dist-packages/torchvision/transforms/functional.py", line 208, in normalize
tensor.sub_(mean[:, None, None]).div_(std[:, None, None])

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.