lmomoy / lf-yolo Goto Github PK
View Code? Open in Web Editor NEWLF-YOLO (Lighter and Faster YOLO) is used to detect defect of X-ray weld image.
License: GNU General Public License v3.0
LF-YOLO (Lighter and Faster YOLO) is used to detect defect of X-ray weld image.
License: GNU General Public License v3.0
Hi, when I run python detect.py --source data/images --weights LF-YOLO.pt --conf 0.25
, I find there is no LF-YOLO.pt and I use yolov3.pt instead, but I get an error: RuntimeError: The size of tensor a (80) must match the size of tensor b (44) at non-singleton dimension 3
. Could you help me? Thank you!
hello,When I was running your code, there was a problem with the version of OpenCV。My opencv is 4.5.2, but He reminded me opencv-python>=4.1.2
requirements: opencv-python>=4.1.2 not found and is required by YOLOv3, attempting auto-update...
ERROR: Invalid requirement: "'opencv-python"
Traceback (most recent call last):
File "d:\Studies\bhdx\CODE\LF-YOLO-master\utils\general.py", line 110, in check_requirements
pkg.require(r)
File "D:\Studies\Anaconda3\envs\pytorch\lib\site-packages\pkg_resources_init_.py", line 891, in require
needed = self.resolve(parse_requirements(requirements))
File "D:\Studies\Anaconda3\envs\pytorch\lib\site-packages\pkg_resources_init_.py", line 777, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'opencv-python>=4.1.2' distribution was not found and is required by the application
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:/Studies/bhdx/CODE/LF-YOLO-master/train.py", line 511, in
check_requirements()
File "d:\Studies\bhdx\CODE\LF-YOLO-master\utils\general.py", line 114, in check_requirements
print(subprocess.check_output(f"pip install '{e.req}'", shell=True).decode())
File "D:\Studies\Anaconda3\envs\pytorch\lib\subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "D:\Studies\Anaconda3\envs\pytorch\lib\subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'pip install 'opencv-python>=4.1.2'' returned non-zero exit status 1.
Do you have this problem?
May I ask if this model has pre-trained weights?
Hi, when I run python detect.py --source data/images --weights LF-YOLO.pt --conf 0.25
, I find there is no LF-YOLO.pt and I use yolov3.pt instead, but I get an error: RuntimeError: The size of tensor a (80) must match the size of tensor b (44) at naon-singleton dimension 3. Could you help me? Thank you!
can you share the weld defect image dataset ? Thank you !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.