Git Product home page Git Product logo

fall-detection-by-yolov3-and-liteflownet's Issues

error about run detect.py

python detect.py --source "/home/ubuntu/MyFiles/2.mp4" --weights"/home/ubuntu/MyFiles/yolov3.pt" --LiteFlowNet_weights "/home/ubuntu/MyFiles/LiteFlowNet.pt"
Namespace(LiteFlowNet_weights='/home/ubuntu/MyFiles/LiteFlowNet.pt', agnostic_nms=False, cfg='cfg/yolov3.cfg', classes=None, conf_thres=0.3, device='', fourcc='mp4v', half=False, img_size=512, iou_thres=0.5, names='data/coco.names', output='output', save_txt=False, source='/home/ubuntu/MyFiles/2.mp4', view_img=True, weights='/home/ubuntu/MyFiles/yolov3.pt')
Using CUDA device0 _CudaDeviceProperties(name='GeForce GTX 1050 Ti', total_memory=4040MB)

video 1/1 (1/29) /home/ubuntu/MyFiles/2.mp4: video 1/1 (2/29) /home/ubuntu/MyFiles/2.mp4: Traceback (most recent call last):
File "detect.py", line 232, in
detect()
File "detect.py", line 104, in detect
wholeflows = batch_estimate(flows_esti, LiteFlowNet)
File "/home/ubuntu/MyFiles/Fall-Detection-By-YOLOV3-and-LiteFlowNet-master/LiteFlowNet/run.py", line 386, in batch_estimate
tensorFlow = torch.nn.functional.interpolate(input=moduleNetwork(tensorPreprocessedFirst, tensorPreprocessedSecond),
File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/home/ubuntu/MyFiles/Fall-Detection-By-YOLOV3-and-LiteFlowNet-master/LiteFlowNet/run.py", line 327, in forward
tensorFlow = self.moduleMatching[intLevel](tensorFirst[intLevel], tensorSecond[intLevel], tensorFeaturesFirst[intLevel], tensorFeaturesSecond[intLevel], tensorFlow)
File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/home/ubuntu/MyFiles/Fall-Detection-By-YOLOV3-and-LiteFlowNet-master/LiteFlowNet/run.py", line 178, in forward
tensorCorrelation = torch.nn.functional.leaky_relu(input=correlation.FunctionCorrelation(tensorFirst=tensorFeaturesFirst, tensorSecond=tensorFeaturesSecond, intStride=1), negative_slope=0.1, inplace=False)
AttributeError: module 'correlation' has no attribute 'FunctionCorrelation'

error

hi i get this error can you help me plase

Traceback (most recent call last):
File "detect.py", line 8, in
from LiteFlowNet.run import Network, batch_estimate
File "/home/fal/Downloads/Fall-Detection-By-YOLOV3-and-LiteFlowNet-master/LiteFlowNet/run.py", line 21, in
assert(int(str('').join(torch.version.split('.')[0:3])) >= 41) # requires at least pytorch version 0.4.1
ValueError: invalid literal for int() with base 10: '170+cu110'

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.