title: TypeError: cannot unpack non-iterable int object with pickle.load
body: <p>I have a Question, I copied the code from Style-GAN in a jupyter notebook but doesn't work properly, this is the code that doesnt work:</p>
  
  <pre><code># Initialize TensorFlow.
  tflib.init_tf()
  
  # Load pre-trained network.
  #url = 'https://drive.google.com/uc?id=1MEGjdvVpUsu1jB4zrXZN7Y4kBBOzizDQ' # karras2019stylegan-ffhq-1024x1024.pkl
  #with dnnlib.util.open_url(url, cache_dir=config.cache_dir) as f:
  f="./karras2019stylegan-ffhq-1024x1024.pkl"
  with open(f, 'rb') as pickle_file:
      _G, _D, Gs = pickle.load(pickle_file)
          # _G = Instantaneous snapshot of the generator. Mainly useful for resuming a previous training run.
          # _D = Instantaneous snapshot of the discriminator. Mainly useful for resuming a previous training run.
          # Gs = Long-term average of the generator. Yields higher-quality results than the instantaneous snapshot.
  </code></pre>
  
  <p>The problem is in </p>
  
  <pre><code> _G, _D, Gs = pickle.load(pickle_file)
  </code></pre>
  
  <p>I have this Error: <code>TypeError: cannot unpack non-iterable int object</code></p>
  
  <p>I don't know why doesnt work, because I use the same code but in a .py and its works.</p>
  
  <p>Anybody knows why doesn't work?</p>
  
  <p>this is the repo:<a href="https://github.com/NVlabs/stylegan" rel="nofollow noreferrer">https://github.com/NVlabs/stylegan</a></p>