Comments (7)
You can modify the paths of weight files in integrated.launch
file. Most of the important arguments are defined there.
Thanks.
from pred_fusion.
from pred_fusion.
Is your YOLO model version YOLOv5?
from pred_fusion.
from pred_fusion.
It might be the problem with torch, so please refer to the following URL. It deals with the same issue you mentioned.
Thanks.
from pred_fusion.
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.
Sorry for late reply. Could you please summarize the key points of your error code?
Thanks.
from pred_fusion.
Related Issues (9)
- about change the data HOT 1
- Some personal questions about the model HOT 7
- 1 HOT 1
- rviz does not display or rarely displays 3D detection boxes HOT 1
- camera and LiDAR synchronization HOT 1
- I can't find a place to train pointpilots now. HOT 8
- How should I modify the code HOT 9
- ROS bagfile link provided is not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pred_fusion.