Comments (4)
Hello, do you mean this error occurred where you were running the training code? Could you tell me where the error occurred?
from nssadnn_iqa.
Hello, I ran the code but found no errors during the training progress.
During the training progress, the size of each output and label:
outputs_NSS.size()=[128, 36]
features.size()=[128, 36]
outputs_q.size()=[128, 1]
label.size()=[128, 1]
you can print the size of the output and label to check out that.
And I'm using PyTorch 0.4.1, or maybe the version causes the error? Can you tell me your PyTorch version and the size of outputs to check out why this error happens?
from nssadnn_iqa.
Hello sir,
Yes , I got this warning when I started the traning
< ./lib/python3.6/site-packages/torch/nn/modules/loss.py:88: UserWarning: Using a target size (torch.Size([1])) that is different to the input size (torch.Size([])). This will likely lead to incorrect results due to broadcasting. Please ensure they have the same size.
return F.l1_loss(input, target, reduction=self.reduction) >
and it affects the results a lot < Epoch 0 Valid Results: loss=26.629 SROCC=0.177 PLCC=0.356 KROCC=0.131 RMSE=31.221
Epoch 0 Test Results: loss=26.473 SROCC=0.222 PLCC=0.340 KROCC=0.165 RMSE=30.960 >
Thanks for your reply .
from nssadnn_iqa.
hello sir,
I changed my Pytorch version to your version and it works very well thank you soo much .
from nssadnn_iqa.
Related Issues (5)
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 nssadnn_iqa.