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

R crashes when training the model #39

Open
1 task done
Zeroo11 opened this issue Apr 29, 2024 · 1 comment
Open
1 task done

R crashes when training the model #39

Zeroo11 opened this issue Apr 29, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Zeroo11
Copy link

Zeroo11 commented Apr 29, 2024

Describe the bug

Hello,
I ran the code according to SDMtune's tutorial (https://consbiol-unibern.github.io/SDMtune/):

# Train a Maxnet model
model <- train(method = "Maxnet", data = train)

It works fine.
fig1

But training the model a second time:

# Train a Maxent model
sdmtune_model <- train(method = "Maxent", data = data)

A crash occurs.
error

I also tested another tutorial (https://consbiol-unibern.github.io/SDMtune/articles/train-model.html):

default_model <- train(method = "Maxent",
                        data = data)

Also crashes.
fig3

How can I solve this problem?

Looking forward to your answer, thank you very much!

LinLin

Steps to reproduce the bug

library(SDMtune)

Session information

A crash occurs

Additional information

No response

Reproducible example

  • I have done my best to provide the steps to reproduce the bug
@Zeroo11 Zeroo11 added the bug Something isn't working label Apr 29, 2024
@rogerio-bio
Copy link

Hi @Zeroo11

The only thing I see that is different here is that in the first attempt you ran the model directly in the R script, in the other two attempts you used a markdown file, right? Maybe this is the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants