Giter VIP home page Giter VIP logo

colab_utils's People

Contributors

mixuala avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

colab_utils's Issues

Can I use tensorboard on local?

Thanks for your dedication, I have successfully run 'tensorboard' on VM.
The next question is can I copy the event file to google drive and download it to local machine ?

I have seen your code for 'GCS bucket', but it seems a little bit opaque to me.
Since I work on GCS only with a file called "tensorboard_x.ipynb".
I save my checkpoint and event file to ./tmp/mnist/ in VM.

Can you specifically point out the name of project and any other things in my case?

OSError: [Errno 18] Invalid cross-device link: 'ngrok'

code

import os
import colab_utils.tboard

# set paths
ROOT = os.getcwd()
LOG_DIR = os.path.join(ROOT, 'log')

# will install `ngrok`, if necessary
# will create `log_dir` if path does not exist
colab_utils.tboard.launch_tensorboard(bin_dir=ROOT, log_dir=LOG_DIR)

output

calling wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip ...
calling unzip ngrok-stable-linux-amd64.zip ...

OSError Traceback (most recent call last)
in ()
8 # will install ngrok, if necessary
9 # will create log_dir if path does not exist
---> 10 colab_utils.tboard.launch_tensorboard(bin_dir=ROOT, log_dir=LOG_DIR)

/content/drive/RoLab/transfer_learning_tutorial/colab_utils/tboard.py in launch_tensorboard(bin_dir, log_dir, retval)
111
112 """
--> 113 install_ngrok(bin_dir)
114
115 if not tf.gfile.Exists(log_dir): tf.gfile.MakeDirs(log_dir)

/content/drive/RoLab/transfer_learning_tutorial/colab_utils/tboard.py in install_ngrok(bin_dir)
79 print("calling unzip ngrok-stable-linux-amd64.zip ...")
80 get_ipython().system_raw( "unzip ngrok-stable-linux-amd64.zip" )
---> 81 os.rename("ngrok", "{}/ngrok".format(TARGET_DIR))
82 os.remove("ngrok-stable-linux-amd64.zip")
83 is_grok_avail = os.path.isfile(os.path.join(TARGET_DIR,'ngrok'))

OSError: [Errno 18] Invalid cross-device link: 'ngrok' -> '/content/drive/RoLab/transfer_learning_tutorial/ngrok'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.