google colab : Other people can't see files - google-colaboratory

I'm using google colab.
I shared link with other people, but problem happens; my working directory list doesn't appear to other people
enter image description here
This is my directory with my ID.
But when other people see there is only 'sample_data'
How can I show my working directory to others and work same time?

Share the same directory with them, including the Colab note as well.

Related

How to open multiple notebooks on the same google colab runtime?

Scenario:
You have a github repo you want to work on. The repo has the following file structure:
src
|
-- directory containing .py files
notebook1.ipynb
notebook2.ipynb
You head to colab and create a new empty notebook as the entry point between your repo and the google colab runtime.
On that empty colab notebook you add the following command to clone your github repo:
!git clone your_repo_address
Checking the colab file explorer we seen that our repo and file format are copied to colab runtime.
So far so good, now say you want to open notebook1.ipynb and execute cells and work on it.
How the hell you do that?
Every time I try that it opens in a file explorer without the possibility to execute the notebook cells.
Why can't colab work similar to jupyter. It's extremely cumbersome and time wasting in this regard compared to jupyter.

Making python-based .exe file accessible to anyone

I have used Spyder (Anaconda) to generate a Python GUI App. The app can browse & load any time series csv file on the user's pc, perform few statistical tests and print the results on to a txt file and save it to the user's desktop screen.
Is it possible to upload the executable file on to any repository so that others could try it out. For example, Google Earth Engine based apps can be easily shared via a link and anyone with that link can access the app. Similarly, is there anything for my case ?
This may not be the answer your looking for,
But you can upload .exe to Google drive and share it. So anyone could download it from the link generated.
File types: Users can upload any type of file, including executables
(for example, .exe or .vbs) and compressed files.
source

Google Colab: mounted Drive but unable to read files

I am doing Stanford's course CS231n on deep learning and am using Google Colab.
The initialization code and all the files are given, so all i need is just to hit "run" on the given code.
I have followed step be step the official instructions and successfully mounted Google Drive, yet i get an error when trying to read the files:
"cp: cannot stat 'cs231n/assignments/assignment1/cs231n/': No such file or directory /content".
And then some more errors.
The files are located in my drive as in the path "FOLDERNAME".
The errors i get:
How it should be:
Official instructions:
https://cs231n.github.io/assignments2020/assignment1/
How can i solve it?
Thanks!
I am having the exactly same problem as you were. And here is my solution:
delete the folder named cs231n
follow the tutorial again
3. change the path %cd drive/My\ Drive into %cd drive/MyDrive
As you can see, default setting of the folder is 'MyDrive'(without space in midddle) but not 'My Drive'(My\ Drive).
Then, everything should run as your expectation.
Cheers.
Based on the course instructions, it sounds like you need to expand the course archive in your Drive.
Quoting here:
Create a folder in your personal Google Drive and upload assignment1/
folder to the Drive folder. We recommend that you call the Google
Drive folder cs231n/assignments/ so that the final uploaded folder has
the path cs231n/assignments/assignment1/.
If you already did that, I'd check the Drive web UI to make sure that the paths line up with the course instructions, and to move the files around if there's a mismatch.

Add data to Google Colab

I have some problems when trying to add .csv files to my Google Colab
I already added these file to my Drive, and copy its exact links to my notebooks, but I still received error File not found
Please help me
My data files 're more than 25 MB, so I cannot add them from Github
Can you try adding the files using Upload option from files tab in the left side of your colab notebook.

Apache ignite download website is broken

I tried to go to the download location and download the binaries (or even the src) https://ignite.apache.org/download.html#binaries
I can see the link pointing to the following:
https://ignite.apache.org/[preferred]/[distdir]/1.6.0/apache-ignite-fabric-1.6.0-bin.zip
but I get 404 response
poking around the directory structure, I managed to find the real link :
https://www.apache.org/dist/ignite/1.6.0/apache-ignite-1.6.0-src.zip
still I suspect the official download links should be fixed.
In case this happens, choose a mirror using the 'Selected mirror' dropdown. The page should choose the closest mirror automatically and it works in most cases, but it's a bit buggy and sometimes you have to do this manually.