Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Colab and Custom Environments

Discussion in 'ML-Agents' started by Absolution_Denied, Feb 9, 2022.

  1. Absolution_Denied

    Absolution_Denied

    Joined:
    Nov 26, 2016
    Posts:
    13
    Hello,

    I would like to ask, is there any tutorial on how to upload custom unity environmnents in Google Colab and then do the training with the low-level API? I 've seen some extremely interesting examples in the colab folder of the main github repo using the low level API but they all use the registry environments, and it got me curious if /how I could upload my own enviro executable and utilize the GPU (since I unfortunately do not have any locally). I tried uploading the .exe binary file along with all the other files that came after compilation but it gives me an error, after I used the same basic command that works locally.
     

    Attached Files:

  2. henrypeteet

    henrypeteet

    Unity Technologies

    Joined:
    Aug 19, 2020
    Posts:
    37
    I think you had the right idea, but since the colab runtime is a linux runtime you need to make sure you compile your Unity environment for linux (.x86_64 file instead of .exe) instead of windows. I think there will also be a few other files created but as long as you upload them all you should be good. Hope this helps
     
  3. Absolution_Denied

    Absolution_Denied

    Joined:
    Nov 26, 2016
    Posts:
    13
    Thanks a lot for the tip, I've been now trying to create a Linux build for the starter roll-a-ball project to test this but I am having trouble completing the build, something about not being able to move Temp/StagingAreaLinuxPlayer to Temp/StagingArea\roller.x86_64 and have no idea what that means... It builds just fine for Windows