Comments (4)
Did you use multi-gpu enviornment for training and inference?
from sar-cam.
No, I only have one GPU, RTX3060, for training.
from sar-cam.
"Hello, after carefully checking the code, I noticed in your test.py file when you create the model instance:
model = Model(
scale = 2,
in_channels = 1,
channels = 128,
kernel_size = 3,
stride = 1,
dilation = 1,
bias = False
).to(device)
model.load_state_dict(torch.load(args.weights_dir))
Shouldn't you change bias = False to bias = True? This is because the weight file generated during training contains bias information. If it's not changed, a mismatch will occur when loading the weights." Hope for your reply, thank you.
from sar-cam.
Thank you for finding an error.
I will make a hotfix regrading "test.py".
from sar-cam.
Related Issues (6)
- environment and inference HOT 5
- Dataset request HOT 6
- Dataset issues HOT 7
- Data preprocessing requests HOT 4
- during training i got validation loss in negative ? 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 sar-cam.