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

Update the Quick Start Guide for the 0.5.1 version: Unresolved classes when attempting tutorial #519

Open
Odaym opened this issue Feb 10, 2023 · 2 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation
Milestone

Comments

@Odaym
Copy link

Odaym commented Feb 10, 2023

In your Quick Start Guide you mention the dependencies that will be needed to follow along, namely:
`implementation 'org.jetbrains.kotlinx:kotlin-deeplearning-onnx:0.5.1' and nothing else.

Heading into the second tutorial, Create your First Neural Network, none of the classes used in the code examples resolve to anything, Sequential, Flatten, none of them.

Looking at the Android sample app, none of these classes are even used in the sample app, and you also have a onnx plugin included there which you don't mention in the quick start guide: id 'org.jetbrains.kotlinx.kotlin-deeplearning-gradle-plugin' version '0.5.1'

How can I get the classes inside that tutorial to resolve? them and all the other classes in subsequent tutorials after that one?

Thanks!

@juliabeliaeva
Copy link
Collaborator

@Odaym, thank you for the question. This section of the "Quick Start Guide" you are referring talks about Android projects doing inference. The sample app also demonstrates inference, this is why it does not use any of the mentioned classes. And the plugin is needed to download pretrained models (see more in the Downloading pre-trained KotlinDL Model Zoo models section). If you want to train your own networks, you'll need the following dependency:

implementation 'org.jetbrains.kotlinx:kotlin-deeplearning-tensorflow:[KOTLIN-DL-VERSION]'

It looks like our "Quick Start Guide" needs to be updated, thank you for pointing that out.

@zaleslaw zaleslaw self-assigned this Feb 13, 2023
@zaleslaw zaleslaw changed the title Unresolved classes when attempting tutorial Update the Quick Start Guide for the 0.5.1 version: Unresolved classes when attempting tutorial Feb 13, 2023
@zaleslaw zaleslaw added bug Something isn't working documentation Improvements or additions to documentation labels Feb 13, 2023
@zaleslaw
Copy link
Collaborator

@juliabeliaeva I will update the guide

@zaleslaw zaleslaw added this to the 0.6 milestone Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants