TheoreticalEcology / machinelearning

Teaching Material for a Machine Learning course with Keras and Tensorflow in R
https://theoreticalecology.github.io/machinelearning/
Other
16 stars 4 forks source link

Cache problems #17

Closed Meier-Matthias closed 3 years ago

Meier-Matthias commented 3 years ago

I don't know why this happens only now, but I can't compile the first chapter any longer. It seems that the cache is not looped through. Its the following lines after 3. Compile the model with a loss function (here: cross entropy) and an optimizer (here: Adamax).

I tried to recompile this with the changed links but now it doesn't even work with the raw version.

MaximilianPi commented 3 years ago

Do you have an error msg? When I have encountered an error during the book compilation I first had to delete the meta files such as the _main.Rmd and the _main_cache folder

Meier-Matthias commented 3 years ago

No, just the "model" object is unknown.

MaximilianPi commented 3 years ago

Did you delete all the meta files in the book folder? Maybe delete all files except for the chapter markdowns and the yaml files.

Meier-Matthias commented 3 years ago

Without deleting the temporary files, it just doesn't start, so yes :)

MaximilianPi commented 3 years ago

ok :D, so it successfully compiles when you deleted all meta-files... then let's close this issue as this is a general annoying handling issue with bookdown

Meier-Matthias commented 3 years ago

No, it does not compile because it does not know what to compile.

Meier-Matthias commented 3 years ago

Bildschirmfoto von 2021-07-23 14-06-46

MaximilianPi commented 3 years ago

As long as you haven't deleted the https://github.com/TheoreticalEcology/machinelearning/blob/master/book/_bookdown.yml it should (theoretically) work...Sry, I am repeating myself, just push your current state into the repo/branch and I will take a look.

Meier-Matthias commented 3 years ago

Its already in my branch. The yml file still exists.

MaximilianPi commented 3 years ago

Well, right now I don't have a setup to try to compile it myself, I will take a look after my vacation (in 1,5 weeks).

Meier-Matthias commented 3 years ago

Works for the moment.