Hi, I just submit a PR of DQN in PyTorch:

  
      github.com/pytorch/examples
  
  
    
  
    
  

  
    
      DQN 261
    

    
      pytorch:master ← stegben:dqn
    

    
      
        opened 
        
          
        
        Jun 17, 2017
      
      

      
        
          
          stegben
        
      

      
        
          +180
          -0
        
      
    

  


  
  
    
    
  
  


I’ve encounter that problem before. Maybe you use the same Q network when updating? The Q network for finding the greatest action should be fixed.