-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Cannot convert a partially known TensorShape to a Tensor: (1, ?) #92
Comments
Hi @kmh005, I had the exact same issue. About a year ago I used cellassign in R3.6.x and had great results. Then I put aside the project for a while to work on something else. I managed to get rid of the TensorRT warning by re-configuring cuda and tensorflow versions.
Then in R:
The cuda & tensorflow compatibility can be found here in case you need it. But still, running
I also tried reinstalling R 3.6 and the issue persists. |
I tried to install a lower version of R and tensorflow. Unfortunately, the issue still occurred. Following the issue tip, I modified line 165 of the |
Alteração sugerida em Irrationone#92 (comment) para corrigir erro de execução
The current solution is therefore:
That's it, nothing less, nothing more. No need for local Python environment or downgrading to another version of TensorFlow.
|
As noted in Irrationone#92
Changed as per Irrationone#92
Irrationone#92 modify line 165 in inference-tensorflow.R as fixed by @WangDaMiao97
Fix tensor shape error according to Irrationone#92
Hi,
I used this tool in the past in an older version of R and Python (3.6.2 and 3.6.3 respectively), and it worked like a charm, and thanks for your input to my imbalanced marker set question.
Given the times I'm trying a new install of CellAssign in R 4.1.0 with Python 3.8.3. I originally tried the TF/TF probability install with default versions in a fresh conda environment, but got the below error, so I started a new conda environment and went with an older TF/TF probability 2.1.0. That didn't change the error, below.
I start the session as follows, and check tf:config() to a warning about TensorRT but otherwise successful load, proceed with the workflow below, and include my sessionInfo().
My SCE object is 2449 cells and 157 genes after marker filtering. I used the same 157 markers on a 6k cell object previously to no issues.
Any help or pointers you could provide would be greatly appreciated. Thanks!
The text was updated successfully, but these errors were encountered: