I’m working on training a GAN through Google Colab with a dataset of photos I scraped from Wikiart and converted to 1024×1024, but keep getting this error when creating the tfrecords: I set it to print out what files it would stall on, and began taking those out of the data set; but what it stalls on seems completely random.
Tag: google-colaboratory
Running .EXE or Perl file on Google Colab
I want to process a set of HDR files with an Executable (e.g., falsecolor2.exe) file on google colab. The source file is here: https://github.com/mostaphaRoudsari/honeybee/blob/master/resources/falsecolor2.exe?raw=true sample HDR files: http://www.anyhere.com/gward/hdrenc/pages/originals.html The executable takes an HDR file with some arguments and generates a new HDR file. On my local machine and drive, the following code works OK: I am not sure how to
How can I get this POST request to execute in Python using Google Colab. I am currently getting a 400 response code
I am trying to extract information for all the jobs on this website: https://www.americanmobile.com/travel-nursing-jobs/search/ Looking at the network activity tab, it looks like all the data I need comes from a POST request made here: https://jobs.amnhealthcare.com/api/jobs//search. I have attached an image that may help confirm exactly what I am referencing. example_1 I wrote the following code in Google Colab to
Path problem when mount Google Drive in Google Colab
I have successfully mounted Google Drive into Google Colab. Now I try to copy a file from Drive to Google Colab, but I see an error:cp: cannot stat ‘MyDrive/lab2/methods_Nd.py’: No such file or directory But that file exists on the Drive. The commands I use are: If someone had a similar problem, I will be glad to know the solution
Tensorflow example works fine on colab, but gives nan while running on jupyter lab
After working with the tensorflow’s example tutorial on colab: Basic regression: Predict fuel efficiency, which can be found here: https://www.tensorflow.org/tutorials/keras/regression. I’ve been trying to run this example on jupyter notebook via anaconda in order to be able to run it offline too. The code that one can find on the link works fine on google colab, but when I try
Is there a change for reading the published CSV from Google Sheets in Google Colab?
I have been using a file from Google sheets, published as CSV, and reading it with Pandas, to make the dataframe, but today stopped working here it is the error output: 2155 def read(self, nrows=None): 2156 try: -> 2157 data = self._reader.read(nrows) 2158 except StopIteration: 2159 if self._first_chunk: pandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader.read() pandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader._read_low_memory() pandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader._read_rows() pandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader._tokenize_rows()
CUDA out of memory in Google Colab
I am trying to replicate a GAN study (Stargan-V2). So, I want to train a model (using less data) in Google Colab. But, I got this problem: I changed batch_size but It didn’t work for me. Did you have any idea? How can I fix this problem? Paper: StarGAN v2: Diverse Image Synthesis for Multiple Domains Original github repo: stargan-v2
Google Colab TPU Version
How do I print in Google Colab which TPU version I am using and how much memory the TPUs have? With I get the following Output Output I want something like [IN] print(‘tpu.version:’, tpu.version) [OUT] tpu.version: Cloud TPU v3. I hope someone can help me. Looking forward to an answer! Answer This answer should have what you’re looking for. Output
from IPython.display import GeoJSON not working on google colab
On Google Colab I’m getting an error when trying to import GeoJSON from IPython.display: Any help on how to properly import it would be appreciated. Answer Exactly how to execute in Google Colab: import IPython Update IPython Now able to from IPython.display import GeoJson
Couldn’t open file yolov3_custom_last.weights when trying to run darknet detection
I’ve been trying to use YOLO (v3) to implement and train an object detection of Tank with OpenImage dataset. I have tried to get help from this tutorial and my code pretty much looks like it. Also I’m using Google Colab and Google Drive services. everything is going fine through my program. But I hit an error at the final