Comments (1)
It may be an issue of different pytorch versions.
When you use lower versions, the result is an int so you should remove '.item()'.
But the same result may become a tensor in higher version, and you will need '.item()'.
from xlearn.
Related Issues (20)
- DAN,JAN(caffe version) cannot be reproduced the results as papers reported HOT 4
- about DA usage scenario HOT 2
- A list of what is going to be deployed? HOT 1
- How can I solve this problem, Thank you!
- Looking for the code of 'Conditional Adversarial Domain Adaptation' HOT 2
- Pytorch result always show : tensor(0, device='cuda:0') HOT 4
- the fc7_jmmd_loss and fc8_jmmd_loss are always zeros during the training
- In the DAN Pytorch implementation, Code about Bata for different kernels? HOT 1
- pytorch version of DAN loss : I dont't find betals param of multi guassian_kernels HOT 3
- some doubts about the code for guassian kernel HOT 1
- When will TCL (AAAI'19) be released? HOT 5
- Backward mmd loss = NaN HOT 1
- Questions about the MMD loss HOT 2
- Using sigmoid for binary classification
- In " loss.py " about ,"DAN loss ",it use MK-MMD? why i think it only use MMD In a certain layer. who can tell me?
- run pytorch code, Why has accuracy been zero?
- Cross-Entropy Loss is not included in the total loss HOT 1
- Question about the code of the unbiased estimate of MMD/JMMD
- When will TADA(AAAI'19) be released? HOT 2
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 xlearn.