Comments (3)
but infer.py must run in pytorch-0.4 ....
from bdrar.
Hi,
You could cancel the inplace behavior of dropout in the model.py.
Just modify the code
for m in self.modules():
if isinstance(m, nn.ReLU) or isinstance(m, nn.Dropout):
m.inplace = True
to be
for m in self.modules():
if isinstance(m, nn.ReLU):
m.inplace = True
from bdrar.
Thank you very much!
from bdrar.
Related Issues (16)
- cannot load pre-trained model, the parameters'name are not consistent HOT 1
- How to solve "out of memory"?
- Fine tune the existing network weights
- i have problem HOT 2
- crash by an inplace operation
- License for the code
- pretrained model results dont match published HOT 2
- RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation HOT 2
- RuntimeError: cuda runtime error (2) : out of memory at /pytorch/aten/src/THC/generic/THCStorage.cu:58 HOT 5
- pre-trained SOD model
- 请问有UCF数据集的下载方式嘛……网上没有找得到 HOT 2
- code crashes
- About performance of trained model. HOT 5
- How to run the code in cpu. getting error "Torch not compiled with CUDA enabled"
- how to remove the shadow after detected it ?
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 bdrar.