Comments (3)
Hi @hui2000ji ,
I see the issue, the problem is in saving the embeddings. I am going to move the l2-norm into the batch-wise for loop of encoderModel_calc_embedding
in backend_encoder.R
. This will also better agree with the batch-wise l2-norm being performed during training. I am going run a few unit tests then an update should be pushed early tomorrow.
Also, I think this should only be an issue for train_encoder_multi.R
, unless you are setting: scAlignOptions(full.norm = TRUE)
. scAlignOptions(norm = TRUE, full.norm = FALSE)
performs only per-batch l2-norm during training and is the default parameterization.
from scalign.
I think this sort of does the job: #14
from scalign.
I've pushed an update which passed the unit tests we have for the tutorial datasets. This should fix the memory issues you were having. Let us know if it doesn't!
Thanks for taking the time to modify the code, our updates were very similar! Hopefully we will have some time to port this code to TF 2.0 and remove tensorflow for R which has caused a few issues now.
from scalign.
Related Issues (10)
- Clarification on choosing a reference and SCTransform. HOT 2
- ImportError: No module named tensorflow , when installing scAlign HOT 5
- Question about the loss? HOT 2
- scAlign_supervised_alignment example: "Error during alignment, returning scAlign class." HOT 1
- Running Issues
- Error during interpolation, returning scAlign class. HOT 9
- Setting up differential expression with multiway alignment HOT 16
- tensorflow error HOT 3
- MultiCCA parameter 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 scalign.