Comments (11)
you could try https://github.com/JunnYu/mish-cuda
from scaledyolov4.
installation is updated.
from scaledyolov4.
when I run:
python setup.py build
Report an error:
ScaledYOLOv4-yolov4-large/mc/csrc/mish_kernel.cu:3:30: fatal error: CUDAApplyUtils.cuh: No such file or directory
Do you know how to solve it?
installation is updated.
Thank you. I made it
from scaledyolov4.
這比較麻煩 得改用pytorch原生程式碼構建mish 但會比較慢也比較吃資源
class Mish(nn.Module): # https://github.com/digantamisra98/Mish
def forward(self, x):
return x * F.softplus(x).tanh()
from scaledyolov4.
一样遇到了,不知道是不是需要最新的pytorch
from scaledyolov4.
一样遇到了
from scaledyolov4.
installation is updated.
Thank you. I made it
from scaledyolov4.
csrc/cpu/mish_cpu.obj build\temp.win-amd64-3.8\Release\csrc/cuda/mish_cuda.obj build\temp.win-amd64-3.8\Release\csrc/cuda/mish_kernel.obj /OUT:build\lib.win-amd64-3.8\mish_cuda_C.cp38-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.8\Release\csrc/cpu_C.cp38-win_amd64.lib
正在创建库 build\temp.win-amd64-3.8\Release\csrc/cpu_C.cp38-win_amd64.lib 和对象 build\temp.win-amd64-3.8\Release\csrc/cpu_C.cp38-win_amd64.exp
正在生成代码
已完成代码的生成
model = attempt_load(weights, map_location=device) # load FP32 model
File "C:\Users\Administrator.SC-201905102106\Desktop\ScaledYOLOv4-yolov4-large\models\experimental.py", line 137, in attempt_load
model.append(torch.load(w, map_location=map_location)['model'].float().fuse().eval()) # load FP32 model
File "D:\Program Files\Anaconda36\envs\yolov52\lib\site-packages\torch\serialization.py", line 593, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "D:\Program Files\Anaconda36\envs\yolov52\lib\site-packages\torch\serialization.py", line 773, in _legacy_load
result = unpickler.load()
ModuleNotFoundError: No module named 'mc.build.lib'
还是报错
from scaledyolov4.
@WongKinYiu 大佬看下
from scaledyolov4.
ModuleNotFoundError: No module named 'mc.build.lib'
這裡就是說您沒有mc/build/lib呀
from scaledyolov4.
@WongKinYiu 你好,导出onnx时出错:ONNX export failure: ONNX export failed: Couldn't export Python operator MishCudaFunction。这种还需要更改哪一块代码么?
from scaledyolov4.
Related Issues (20)
- Issue with reported confidence level of the single-cls scaled yolov4 csp implementation
- single GPU in training HOT 4
- RuntimeError: result type Float can't be cast to the desired output type long int HOT 2
- Fail to transfer .pt into .onnx
- Question about the loss function
- how to train the trick to achive goals?
- YOLOv4-P6 convert torch .pt to darknet .weights
- is there a mask(segmentation) branch for scaledYOLOv4 project?
- Train.py runtime error, Float can't be cast to the desired output type long int HOT 1
- wrong calculation of map
- Pretrained checkpoints?
- The fps of YOLOV4-CSP?
- why mish-cuda?
- When I run the test.py in docker, one issue appeared. HOT 2
- Could not download models
- Could not download pretrained models such as yolov4-p5.pt,yolov4-p6.pt,yolov4-p7.pt file
- I Could not download pretrained models such as yolov4-p5.pt,yolov4-p6.pt,yolov4-p7.pt file. Could you please help me.
- Error while training the yolov7 model _pickle.UnpicklingError: STACK_GLOBAL requires str HOT 2
- Looking for yolov4 weights HOT 2
- RuntimeError: Trying to create tensor with negative dimension -920509440: [-920509440]
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 scaledyolov4.