Comments (3)
不好意思,现在才注意到,最近确实没有精力去研究多卡的实现,实在抱歉啦
from tensorflow_center_loss.
@lipond @EncodeTS ,用一个全为0的矩阵替换掉原来的center进行scatter_sub,就可以用这个矩阵来保存对于每个类的中心最终要修改多少。每个GPU上计算出来的这个矩阵进行求和再与center相加,就是最后的结果,如果作者需要的话我可以提一个PR。
from tensorflow_center_loss.
@vzxxbacq 欢迎PR哈👍
from tensorflow_center_loss.
Related Issues (9)
- 如果用keras,需要怎么设置?keras的backend是tensorflow HOT 4
- center points 更新实现和论文不一致 HOT 4
- 如何理解串行全连接 HOT 2
- center loss 计算问题 HOT 1
- Division by batch size HOT 1
- error: Res Reshape cannot infer the missing input size for an empty tensor unless all specified input sizes are non-zerohape cannot infer the missing input size for an empty tensor unless all specified input sizes are non-zero HOT 1
- confused with gradients of center loss
- About center op
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 tensorflow_center_loss.