Coder Social home page Coder Social logo

fall-detection's Issues

make some problem

hi! when I run the dae_main_test.py with UR_filled dataset, it casue the error belows. But when I run the thermal dataset, it doesn‘t make a mistake. So can you know what's the problem? thanks

Traceback (most recent call last):
File "dae_main_test.py", line 22, in
dae_exp.test(raw = False, animate = True)
File "/home/rubin/papercode/Fall-Detection-master/ae_exp.py", line 117, in test
metric = 'AUC', dset = self.dset, raw = raw, animate = animate) #multi_AEmodel.py
File "/home/rubin/papercode/Fall-Detection-master/multi_AEmodel.py", line 73, in get_stats_for_all_vids
vid_total = data_dict[Fall_name]['Data'][:]
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "/home/rubin/anaconda3/envs/tensorflow/lib/python3.7/site-packages/h5py/_hl/group.py", line 264, in getitem
oid = h5o.open(self.id, self._e(name), lapl=self._lapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5o.pyx", line 190, in h5py.h5o.open
KeyError: "Unable to open object (object 'Fall1' doesn't exist)"

Hello, I have two questions, can you answer it?

  1. I would like to ask how to give a label for each picture for a set of falling pictures when preparing the training set?
  2. When testing a group of pictures, how to output start frame index and stop frame index of a fall action?

decoded_imgs = self.model.predict(test_data)
RE = MSE(test_data, decoded_imgs)
predicted_classes = threshold(RE, 0.5)

Is the “predicted_classes” the label of the model's final prediction?

where is the loss fuction

hi! I can not found the loss fuction in your code,I only see this autoencoder.compile(optimizer='adadelta', loss='mean_squared_error'). So if I want to change the loss fuction,what should I do? Or where the loss fuction is?
thanks!

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.