Giter Club home page Giter Club logo

fall-detection-two-stream-cnn's Introduction

Hello there ๐Ÿ‘‹

My name is Dzung Pham and I'm a PhD student in Computer Science at UMass Amherst. Hope you can find something useful here! Check out my personal website at dzungvpham.github.io!

Anurag's GitHub stats

Top Langs

fall-detection-two-stream-cnn'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

Watchers

 avatar  avatar  avatar  avatar  avatar

fall-detection-two-stream-cnn's Issues

Where is annotation_path = "datasets/FDD/Annotations_all.txt" file?

Thanks a lot for open-sourcing your code for fall detection on FDD dataset.

When I tried to preprocess the Le2i_FDD dataset that I downloaded from your Google Drive, I got the following error.

Could you please tell me know how I could fix this?

(fall) mona@goku:~/research/code/fall-detection-two-stream-cnn$ python utils.py 
Traceback (most recent call last):
  File "utils.py", line 607, in <module>
    create_two_stream_dataset_FDD()
  File "utils.py", line 370, in create_two_stream_dataset_FDD
    with open(annotation_path, "r") as annotation_file:
FileNotFoundError: [Errno 2] No such file or directory: 'datasets/FDD/Annotations_all.txt'

additionally, I had a quick report of some missing files in FDD that I downloaded from your Website since the original Website gave me 503 error.

nithiroj/Fall-Detection-PyTorch#3

Thanks a lot for your help.

problem with using the "depth_multiplier" argument

Hi thank you for the wonderful work
There is a problem with using the depth_multiplier argument
This is in the next line
#L19

base_model = MobileNetV2(
        input_shape = (224, 224, 3), alpha = 1.0, depth_multiplier = 1,
        include_top = False, weights = "imagenet"
    )

It may appear like the following error

TypeError: ('Invalid keyword argument: %s', 'depth_multiplier')
It seems that he has been stopped summoning him in recent versions of the kers library

cut ... In the docs (https://keras.io/applications/#mobilenetv2), depth_multiplier is listed and used as an argument to keras.applications.MobileNetV2, even though it is not implemented in .....

see keras-team/keras#12327

Please be amended or removed, if it is worth, from your point of view.
__
Another thing .. What about the training data, are there any tips on processing more training data, or can you share your data?

Thanks again
Mohammed Emad:

Tensorflow DLL load failed

I am receiving having this error on launch fall_detection.py :

I am using the newer version of TensorFlow, as the old one is not usable:
image

Connected to pydev debugger (build 191.7479.30)
Traceback (most recent call last):
  File "C:\Users\prahu\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "C:\Users\prahu\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "C:\Users\prahu\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "C:\Users\prahu\AppData\Local\Programs\Python\Python37\lib\imp.py", line 242, in load_module
    return load_dynamic(name, filename, file)
  File "C:\Users\prahu\AppData\Local\Programs\Python\Python37\lib\imp.py", line 342, in load_dynamic
    return _load(spec)
ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\Apps\JetBrains\PyCharm Community Edition 2019.1.3\helpers\pydev\pydevd.py", line 1758, in <module>
    main()
  File "D:\Apps\JetBrains\PyCharm Community Edition 2019.1.3\helpers\pydev\pydevd.py", line 1752, in main
    globals = debugger.run(setup['file'], None, None, is_module)
  File "D:\Apps\JetBrains\PyCharm Community Edition 2019.1.3\helpers\pydev\pydevd.py", line 1147, in run
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "D:\Apps\JetBrains\PyCharm Community Edition 2019.1.3\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "D:/Multiverse_Projects/Final year project- Fall Detection/fall-detection-two-stream-cnn-master/tensorflow_test.py", line 1, in <module>
    import tensorflow as tf
  File "C:\Users\prahu\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\__init__.py", line 101, in <module>
    from tensorflow_core import *
  File "C:\Users\prahu\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\__init__.py", line 40, in <module>
    from tensorflow.python.tools import module_util as _module_util
  File "C:\Users\prahu\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\__init__.py", line 50, in __getattr__
    module = self._load()
  File "C:\Users\prahu\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\__init__.py", line 44, in _load
    module = _importlib.import_module(self.__name__)
  File "C:\Users\prahu\AppData\Local\Programs\Python\Python37\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "C:\Users\prahu\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\__init__.py", line 49, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "C:\Users\prahu\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in <module>
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "C:\Users\prahu\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "C:\Users\prahu\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "C:\Users\prahu\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "C:\Users\prahu\AppData\Local\Programs\Python\Python37\lib\imp.py", line 242, in load_module
    return load_dynamic(name, filename, file)
  File "C:\Users\prahu\AppData\Local\Programs\Python\Python37\lib\imp.py", line 342, in load_dynamic
    return _load(spec)
ImportError: DLL load failed: The specified module could not be found.


Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors

for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

Process finished with exit code -1

Any help is appreciated

AttributeError: module 'cv2.cv2' has no attribute 'motempl'

Traceback (most recent call last):
File "fall_detection.py", line 300, in
start_fall_detector_realtime("Evening_108(3).mp4")
File "fall_detection.py", line 210, in start_fall_detector_realtime
cv.motempl.updateMotionHistory(motion_mask, prev_mhi[prev_ind], prev_timestamp[prev_ind], MHI_DURATION)
AttributeError: module 'cv2.cv2' has no attribute 'motempl'

i install requirements and python3.6 and opencv-contrib-python,opencv-python (4.0.0.21)
plz help me

about dataset

Could you tell me which dataset you use? I can not find the download link fot the FDD dataset, could you share it with me?Thank you !

Hi, What is your opencv version?

cv.motempl.updateMotionHistory(...)
AttributeError: module 'cv2.cv2' has no attribute 'motempl'
I can't use opencv4.1.2 or 3.4.2

URFD Dataset

Hey brother you have tried to make your programme for urfd dataset. I am trying to combine more dataset to train your model.

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.