Comments (2)
I am receiving the following error when I run the synthetic dataset:
C:\Users\echan\Desktop\spatiogenomics\DSTG\DSTG\Infor_Data/ST_count\ST_count_1.csv C:\Users\echan\Desktop\spatiogenomics\DSTG\DSTG\Infor_Data/ST_count\ST_count_2.csv C:\Users\echan\Desktop\spatiogenomics\DSTG\DSTG\Infor_Data/ST_norm\ST_norm_1.csv C:\Users\echan\Desktop\spatiogenomics\DSTG\DSTG\Infor_Data/ST_norm\ST_norm_2.csv C:\Users\echan\Desktop\spatiogenomics\DSTG\DSTG\Infor_Data/ST_scale\ST_scale_1.csv C:\Users\echan\Desktop\spatiogenomics\DSTG\DSTG\Infor_Data/ST_scale\ST_scale_2.csv C:\Users\echan\Desktop\spatiogenomics\DSTG\DSTG\Infor_Data/ST_label\ST_label_1.csv C:\Users\echan\Desktop\spatiogenomics\DSTG\DSTG\Infor_Data/ST_label\ST_label_2.csv Traceback (most recent call last): File "train.py", line 35, in <module> FLAGS.dataset) File "C:\Users\echan\Desktop\spatiogenomics\DSTG\DSTG\utils.py", line 13, in load_data input_data(datadir) File "C:\Users\echan\Desktop\spatiogenomics\DSTG\DSTG\data.py", line 17, in input_data Link_Graph(outputdir='Infor_Data') File "C:\Users\echan\Desktop\spatiogenomics\DSTG\DSTG\graph.py", line 55, in Link_Graph combine=combine) File "C:\Users\echan\Desktop\spatiogenomics\DSTG\DSTG\gutils.py", line 161, in Link_graph k=30) File "C:\Users\echan\Desktop\spatiogenomics\DSTG\DSTG\gutils.py", line 66, in KNN embedding_cells1 = cell_embedding.loc[cells1, ] File "C:\ProgramData\Anaconda3\envs\tf4\lib\site-packages\pandas\core\indexing.py", line 1472, in __getitem__ return self._getitem_tuple(key) File "C:\ProgramData\Anaconda3\envs\tf4\lib\site-packages\pandas\core\indexing.py", line 879, in _getitem_tuple return self._multi_take(tup) File "C:\ProgramData\Anaconda3\envs\tf4\lib\site-packages\pandas\core\indexing.py", line 943, in _multi_take return o._reindex_with_indexers(d, copy=True, allow_dups=True) File "C:\ProgramData\Anaconda3\envs\tf4\lib\site-packages\pandas\core\generic.py", line 3810, in _reindex_with_indexers copy=copy) File "C:\ProgramData\Anaconda3\envs\tf4\lib\site-packages\pandas\core\internals.py", line 4429, in reindex_indexer return self.__class__(new_blocks, new_axes) File "C:\ProgramData\Anaconda3\envs\tf4\lib\site-packages\pandas\core\internals.py", line 3282, in __init__ self._verify_integrity() File "C:\ProgramData\Anaconda3\envs\tf4\lib\site-packages\pandas\core\internals.py", line 3493, in _verify_integrity construction_error(tot_items, block.shape[1:], self.axes) File "C:\ProgramData\Anaconda3\envs\tf4\lib\site-packages\pandas\core\internals.py", line 4843, in construction_error passed, implied)) ValueError: Shape of passed values is (30, 2000), indices imply (30, 1000)
What about giving me your email then we can discuss and look into the result?
from dstg.
As following up, I would recommend running DSTG on mac ox or linux system.
from dstg.
Related Issues (20)
- Predict_output.csv problem HOT 4
- what filterEdge filters? HOT 3
- error while running demo HOT 1
- Number of genes in the ST dataset HOT 3
- Problem with Matrix Subsetting in convert_data.R HOT 1
- 'test_spot_fun' is no longer supported HOT 1
- The demo fails to run HOT 1
- Question regarding the link-graph usage in the main training script HOT 2
- Question regarding the data files. HOT 1
- Issue in data_process function in R_utils.R HOT 1
- problem in running train.py
- Datasets in paper
- Data format of our own data HOT 11
- Is there an implementation of pytorch version? HOT 2
- PDAC data HOT 4
- code bug HOT 3
- PBMC data HOT 1
- Potential issues in data_process function in R_utils.R HOT 3
- Clarification on the input matrices HOT 15
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 dstg.