Coder Social home page Coder Social logo

how to modify the paths about pred_fusion HOT 7 OPEN

FYYLHH avatar FYYLHH commented on July 29, 2024
how to modify the paths

from pred_fusion.

Comments (7)

s-duuu avatar s-duuu commented on July 29, 2024

You can modify the paths of weight files in integrated.launch file. Most of the important arguments are defined there.

Thanks.

from pred_fusion.

FYYLHH avatar FYYLHH commented on July 29, 2024

from pred_fusion.

s-duuu avatar s-duuu commented on July 29, 2024

Is your YOLO model version YOLOv5?

from pred_fusion.

FYYLHH avatar FYYLHH commented on July 29, 2024

from pred_fusion.

s-duuu avatar s-duuu commented on July 29, 2024

It might be the problem with torch, so please refer to the following URL. It deals with the same issue you mentioned.

ultralytics/yolov5#6948

Thanks.

from pred_fusion.

FYYLHH avatar FYYLHH commented on July 29, 2024

Your response helped me solve the problem of Pillars not displaying detection boxes, but when I modified the weights of YOLOv5 and Pillars, I reported an error.
Yolo error:
RuntimeError: [force fail at inline container. cc: 130]. file in archive is not in a subdirectory: pillars.pth
/Opt/ros/noetic/lib/python3/dist packages/rose/impl/registration. py: 339: DeprecationWarning: notifyAll() is deprecated, use notify_ All() install
Self. nd. notifyAll()
Pillars error:
File "/home/fyy/yolo_point_fusion/dev/lib/usage reduction/detector. py", line 15, in
Exec (compile (fh. read()), Python_ Script, 'exec'), context)
File "/home/fyy/yolo_point_fusion/src/src/detector. py", line 199, in
Detector=Yolov5Detector()
File "/home/fyy/anaconde3/lib/python3.10/site packages/torch/utils/contextlib. py", line 115, in decorate_ Context
Return func (* args, * * kwargs)
File "/home/fyy/anaconde3/lib/python3.10/site packages/torch/utils/contextlib. py", line 129, in
Func=cast (F, lambda * args, * * kwargs: orig_func (* args, * * kwargs))
File "/home/fyy/yolo_point_fusion/src/src/detector. py", line 77, in__ Init__
Self. model. warmup (imgsz=(1 if self. pt else bs, 3, * self. img_size), half=self. half) # warmup
File "/home/fyy/yolo_point_fusion/dev/lib/usage reduction/yolov5/models/common. py", line 463, in warmup
Self. forward (im) # warmup
File "/home/fyy/yolo_point_fusion/dev/lib/usage reduction/yolov5/models/common. py", line 402, in forward
Y=self. model (im) if self. jit else self. model (im, augment=augment, visualize=visualize)
File "/home/fyy/anaconde3/lib/python3.10/site packages/torch/nn/modules/module. py", line 1501, in_ Call_ Impl
Return forward_ Call (* args, * * kwargs)
File "/home/fyy/yolo_point_fusion/src/src/yolov5/models/yolo. py", line 209, in forward
Return self_ Forward_ Once (x, profile, visualize) # single scale conference, train
File "/home/fyy/yolo_point_fusion/src/src/yolov5/models/yolo. py", line 121, in_ Forward_ Once
X=m (x) # run
File "/home/fyy/anaconde3/lib/python3.10/site packages/torch/nn/modules/module. py", line 1501, in_ Call_ Impl
Return forward_ Call (* args, * * kwargs)
File "/home/fyy/anaconde3/lib/python3.10/site packages/torch/nn/modules/upsampling. py", line 157, in forward
Recompute_ Scale_ Factor=self. calculate_ Scale_ Factor)
File "/home/fyy/anaconde3/lib/python3.10/site packages/torch/nn/modules/module. py", line 1614, in__ Getattr__
Raise AttributeError ("{} 'object has no attribute' {} '". format(
AttributeError: 'Upsample' object has no attribute 'recompute_ Scale_ Factor '
[detector-2] process has died [pid 13758, exit code 1, cmd/home/fyy/yolo_point_fusion/dev/lib/usion_prediction/detector. py __ name:=detector__ log:=/home/fyy/. ros/log/13c5b734-421d-11ee beac-2b3c2abce79f/detector-2. log]
Log file:/home/fyy/. ros/log/13c5b734-421d-11ee beac-2b3c2abce79f/detector-2 *. log
/Opt/ros/noetic/lib/python3/dist packages/rose/impl/registration. py: 486: DeprecationWarning: notifyAll() is deprecated, use notify_ All() install
Self. nd. notifyAll()
/Home/fyy/anaconde3/lib/Python 3.10/site packages/torch/functional. py: 504: UserWarning: torch. meshgrid: in an updating release, it will be required to pass the indexing argument (Triggered internally at../ten/src/Aten/native/TensorShape. cpp: 3483.)
Return_ VF. meshgrid (tensors, * * kwargs) # type: ignore [attr defined]
[ERROR] [1692840322.884283]: bad callback:<bound method fusion. lidar_ Callback of<__ Main__ Fusion object at 0x7f8b769a9750>>
Traceback (most recent call last):
If it's convenient, could you help me see how this path problem arises and how it is resolved. thanks
Note: I noticed that you were originally in the zip format of the compressed package, but what I trained was not in the zip format. I suspect there may be a problem with this area. I tried to compress the weight and still reported an error, so I think you may have done additional work to ensure that the project runs correctly.
I hope to receive your early reply.

from pred_fusion.

s-duuu avatar s-duuu commented on July 29, 2024

Sorry for late reply. Could you please summarize the key points of your error code?

Thanks.

from pred_fusion.

Related Issues (9)

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.