Skip to content
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

ValueError #4

Open
mengxiangbin001 opened this issue Apr 12, 2024 · 2 comments
Open

ValueError #4

mengxiangbin001 opened this issue Apr 12, 2024 · 2 comments

Comments

@mengxiangbin001
Copy link

In the R language version, when running the test example provided by the demo, you will encounter the error "ValueError: Cannot convert '(18, 64.0)' to a shape. Found invalid entry '64.0' of type '<class 'float'>'. How can this be resolved?"

Uploading 1.png…

@kimmo1019
Copy link
Member

I've replied to your email and am glad that you finally solved it. This is a float to int conversion problem. I did not encounter it in my several different environments (mac and linux). I'll leave this issue open for a while, just in case others may have the same one.

@wuhecuizao
Copy link

The bug has been fixed by 564e0e4
RcausalEGM can only be installed by source, that is "devtools::install_github("SUwonglab/CausalEGM", subdir = "r-package/RcausalEGM")"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants