Comments (6)
You can replace net.module.size with net.size. Module will be added if you train the network with multi-gpus.
from pytorchssd.
I have solved it,thank you^ ^
from pytorchssd.
I have another problem,when I use the train_test.py to train the voc dataset,it will stop in the Epoch3
Epoch:3 || epochiter: 1974/2068|| Totel iter 6110 || L: 1.5484 C: 3.7036||Batch time: 0.4011 sec. ||LR: 0.00050000
Epoch:3 || epochiter: 1984/2068|| Totel iter 6120 || L: 1.4901 C: 3.6711||Batch time: 0.4020 sec. ||LR: 0.00050000
Epoch:3 || epochiter: 1994/2068|| Totel iter 6130 || L: 1.4994 C: 3.7394||Batch time: 0.4352 sec. ||LR: 0.00050000
Epoch:3 || epochiter: 2004/2068|| Totel iter 6140 || L: 1.6116 C: 3.2869||Batch time: 0.4009 sec. ||LR: 0.00050000
Epoch:3 || epochiter: 2014/2068|| Totel iter 6150 || L: 1.5345 C: 3.8280||Batch time: 0.3992 sec. ||LR: 0.00050000
Epoch:3 || epochiter: 2024/2068|| Totel iter 6160 || L: 1.4239 C: 3.6214||Batch time: 0.4073 sec. ||LR: 0.00050000
Epoch:3 || epochiter: 2034/2068|| Totel iter 6170 || L: 1.5346 C: 3.4771||Batch time: 0.4425 sec. ||LR: 0.00050000
Epoch:3 || epochiter: 2044/2068|| Totel iter 6180 || L: 1.4747 C: 3.6433||Batch time: 0.4029 sec. ||LR: 0.00050000
Epoch:3 || epochiter: 2054/2068|| Totel iter 6190 || L: 1.5019 C: 3.6043||Batch time: 0.4037 sec. ||LR: 0.00050000
Epoch:3 || epochiter: 2064/2068|| Totel iter 6200 || L: 1.3754 C: 3.5850||Batch time: 0.3989 sec. ||LR: 0.00050000
like this,it can not go on.what is the problem about this?
from pytorchssd.
I haven't met this problem. What's you pytorch version?
from pytorchssd.
I used the pytorch 0.3.1 to run the code.
from pytorchssd.
@Wondersui
add
import cv2
cv2.setNumThreads(0) # pytorch issue 1355: possible deadlock in dataloader
may solve the problem
from pytorchssd.
Related Issues (20)
- IndexError: too many indices for array HOT 1
- fssd divergent HOT 1
- No module named 'yacs'
- 'RFBNet' object has no attribute 'module'
- TypeError: Expected Ptr<cv::UMat> for argument 'src' HOT 1
- Unexpected key(s) in state_dict: L2Norm.weight HOT 2
- The mAP of SSD-Resnet is lower than SSD-VGG16. HOT 1
- 想问下大家,在训练的过程中又碰到AP为0的情况吗,我是用的自己的数据集训练的。num_class啥的都改过了,实在不知道该咋办了
- from .nms.cpu_nms import cpu_nms, cpu_soft_nms ImportError: /home/gabriel/PytorchSSD/utils/nms/cpu_nms.so: undefined symbol: _Py_ZeroStruct
- how can see map?
- Hi, I need your help ! RefineDet320 voc 2007 only get mAP=0.76, lower than SSD300? HOT 4
- No module named 'utils.nms.cpu_nms'
- Where is L2Norm???
- What is the RFB_E model in models/ folder?
- Why Refinedet only support 320 input dim? HOT 1
- batch_size=16 or batch_size=32 ? HOT 1
- Where can I download other pre-trained mobilenet models?
- RuntimeError: copy_if failed to synchronize: device-side assert triggered
- File "train_test.py", line 127, in <module> net = build_net(size=300, num_classes=7) File "/home/syh-hwj/daima/PytorchSSD/models/FSSD_vgg.py", line 224, in build_net return FSSD(*feature_transform_module(vgg(vgg_base[str(size)], 3), add_extras(extras[str(size)], 1024), size=300), File "/home/syh-hwj/daima/PytorchSSD/models/base_models.py", line 14, in vgg conv2d = nn.Conv2d(in_channels, v, kernel_size=3, padding=1) File "/home/syh-hwj/anaconda3/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 297, in __init__ False, _pair(0), groups, bias) File "/home/syh-hwj/anaconda3/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 33, in __init__ out_channels, in_channels // groups, *kernel_size)) RuntimeError: CUDA error: out of memory
- 每次到测试阶段都报错
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 pytorchssd.