Comments (4)
BrokenPipeError: [Errno 32] Broken pipe
from pytorch-slimming.
找到原因了 是win的多进程问题
from pytorch-slimming.
我的是'1.5.0+cu92',一直报错。
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.This probably means that you are not using fork to start your child processes and you have forgotten to use the proper idiom in the main module: if __name__ == '__main__': freeze_support() ... The "freeze_support()" line can be omitted if the program is not going to be frozen to produce an executable.
没有过torch,这个代码有人跑通了吗?效果如何?
我跑通了,里面有个版本报错。我用这位大神的方法改对了
NVIDIA/flownet2-pytorch#113 (comment)
from pytorch-slimming.
我这个没跑通原因torch在win和linux多线程是不一样的。这里的代码是linux版的,我用是win环境。改一下就行了。
from pytorch-slimming.
Related Issues (16)
- model size after finetuning HOT 10
- python main.py -refine pruned.pth.tar --epochs 40
- IndexError: invalid index of a 0-dim tensor. Use `tensor.item()` in Python or `tensor.item<T>()` in C++ to convert a 0-dim tensor to a number HOT 2
- 稀疏训练的时候,应该指定模型吧?
- 剪枝之后的模型无法正常检出框 HOT 1
- [59, 64, 'M', 128, 128, 'M', 256, 256, 256, 256, 'M', 470, 239, 59, 40, 'M', 0, 3, 54, 483],有一层卷积数量是0,怎么解决呢 HOT 4
- Question about loss
- Is not l1 loss the smooth l1 mentioned in the paper? HOT 1
- Pruned error HOT 7
- m.weight.grad.data.add_(args.s*torch.sign(m.weight.data)) # L1 HOT 2
- error:torch.load HOT 1
- Model save problem
- 稀疏化训练问题
- 剪枝程序vggprune.py遇见的问题 HOT 2
- IndexError: index 0 is out of bounds for dimension 0 with size 0' in Prune.py HOT 1
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 pytorch-slimming.