Comments (4)
Hi,
What version of PyTorch are you using? If not 1.6 please update and try again.
from tensorqtl.
I have checked version of my PyTorch . It's 1.6
from tensorqtl.
I found that the cause of the error is tensor.dtype
of genotype_ix_t
. torch.from_numpy()
will define tensor.dtype
as torch.int32
. I solved this error by adding genotype_ix_t = genotype_ix_t.type(torch.LongTensor).to(device)
and then working.
from tensorqtl.
Please update to v1.0.4 (changes elsewhere should fix this, but had not yet been pushed to a new release).
from tensorqtl.
Related Issues (20)
- missing values in genotype HOT 1
- Clarification for the transformation procedure. HOT 1
- QTL interaction error
- NA value in phenotype data
- SyntaxError: invalid syntax HOT 2
- Interaction QTL index error HOT 1
- Is TensorQTL computing a robust linear regression? HOT 2
- RuntimeError: CUDA error: unknown error HOT 3
- Error - lengths must match to compare
- how to get the beta value with cis_nominal mode HOT 3
- Warning with rpy2 package HOT 1
- error of calculate_qvalues in post.py? HOT 1
- covariates issue HOT 4
- [help] genotype format HOT 4
- handling of NaN in phenotype data in cis.map_cs HOT 1
- How to understand pval_nominal_threshold? HOT 3
- Negative af in output files HOT 7
- missing tss_distance in cis output HOT 1
- Abnormal results of interaction model HOT 4
- scipy.optimize.newton failed to converge 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 tensorqtl.