title: Load .txt file with pickle on non GPU machine
body: <p>I am trying to load a .txt file on a <strong>non</strong> GPU machine. The .txt file was dumped on a GPU machine:</p>
  
  <pre><code>with open("Data/all_rewards.txt", "wb") as f:
      pickle.dump(all_rewards, f)
  </code></pre>
  
  <p>The file contains just text data, no network models or anything else.
  On a GPU machine, I have no trouble loading the data:</p>
  
  <pre><code>with open("all_rewards.txt", 'rb') as f:
      losses = pickle.load(f)
  </code></pre>
  
  <p>On a <strong>non</strong> GPU machine however, I get the error:</p>
  
  <pre><code>AssertionError('Torch not compiled with CUDA enabled',)
  </code></pre>
  
  <p>Since Torch uses pickle too to load models, I have tried to load the data with :</p>
  
  <pre><code>losses = torch.load("all_rewards.txt", map_location='cpu')
  </code></pre>
  
  <p>but that didn´t work.
  Could you help me plaese?</p>
  
  <p>EDIT:
  Somehow this problem solved itself magically. I have reinstalled pickle, which did not solve the problem initially but now it works...</p>