Example #1
0
    public async Task StartCoach()
    {
        var coach = new CoachClient(isDebug: true);

        coach = await coach.Login("A2botdrxAn68aZh8Twwwt2sPBJdCfH3zO02QDMt0");

        model = await coach.GetModelRemote("flowers", workers : 4);

        texture = image.texture as Texture2D;
    }
Example #2
0
    async Task Init()
    {
        var coach = new CoachClient(isDebug: true);

        coach = await coach.Login("A2botdrxAn68aZh8Twwwt2sPBJdCfH3zO02QDMt0");

        model = await coach.GetModelRemote("flowers", workers : 4);

        texture         = image.texture as Texture2D;
        buttonText.text = "Using " + (sync ? "sync" : "async");
    }