Comments (3)
可能模型有点复杂,这是什么模型
from torch-pruning.
Hi, even I am facing a similar error where the dependency graph calls an infinite loop at new_indices = mapping(new_indices)
step. This error starts to occur around the third group, specifically in the attention layer. I am using Restormer architecture : https://github.com/swz30/Restormer/blob/main/basicsr/models/archs/restormer_arch.py.
Any help or idea on this @VainF ?
from torch-pruning.
我查看了一下出错层的整个group发现在第一个concat那里就有问题,这个concat应该是64+3=67也就是[0,64,67],但是在group05中却显示ConcatOp_119[0,64]
from torch-pruning.
Related Issues (20)
- Isomorphic pruning integration into Torch-pruning HOT 2
- This is a great project. Can you provide example code on how to predict images after pruning is completed. I made an error while making the prediction:"AttributeError: Can't get attribute 'C2f_v2' on <module '__main__'" HOT 1
- Simple example for pruning LSTM model
- 我使用代码中的剪枝方法对vgg16进行剪枝,程序运行到pruner.step()的时候运行很长时间都不出结果,好像是卡在这里了。请问这是什么情况?
- How to use tp.pruner.MetaPruner with models that have hidden parameter in forward method?
- the new version yolov5,yolov7 didn't work HOT 3
- Training the model causes the issue.
- Metapruner can not work with ViTForImageClassification HOT 3
- MetaPruner can not work with ViTForImageClassification when setting iterative_steps=5 or larger steps HOT 2
- IndexError: index 1536 is out of bounds for dimension 0 with size 1024 HOT 1
- deformable convolution HOT 2
- yolov8在剪枝后finetune模型时,如果设置多卡会报错,Expected all tensors to be on the same device, but found at least two devices, cuda:2 and cuda:0!
- 当我在尝试剪枝YOLOV9时,DG.get_all_groups构建的group中Concat的通道索引不正确 HOT 3
- Why the pruning does not occur (params & flops do not change) HOT 1
- Sudden model size increase for high pruning ratios
- 关于本项目中给的YOLO系列的剪枝训练过程的疑问?
- YOLOv5剪枝后推理无结果
- PixelShuffle HOT 3
- Is torch-pruning compatible with Detectron2?
- How to record the mapping relationship between remaining channels and the origin channels?
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 torch-pruning.