jerryzh168:

save


Thank you @jerryzh168
I was able to save with model.state_dict() but not able to lad the model with same model.load_state_dict(). It was giving keyError.
Secondly if I save with  torch.jit.save(torch.jit.script(pcqmodel),“quantization_per_channel_model.pth”)
I am not able to see the Quantization  info after loading the model . Referred in this issue

  
      github.com/pytorch/pytorch
  
  
    
  
	  
  

  
    
      How to save quantized model in PyTorch1.3 with quantization information 161
    

    
      
        opened 
        
          
        
        Oct 19, 2019
      
      

        
          closed 
        
          
        
        Oct 23, 2019
      
        

      
        
          
          vippeterhou
        
      
    
  



  ❓ How to save the quantized model in PyTorch1.3 with quantization information
Is there any way to save the quantized model in...



    quantization
    triaged