Hi, when I try to compile Faster rcnn I met this problem.
image.png981×203 28.3 KB

the compiler tells: reciprocal is not implemented for type torch.cuda.LongTensor? how can i solve this problem??
linux:16.04
pytorch:version 0.4.0
when i try to google this problem. this post tells me i should change the pytorch version to 0.3.0, however i do not want degrade my cuda and pytorch version. thanks~

  
      github.com/jwyang/faster-rcnn.pytorch
  
  
    



Issue: RuntimeError: reciprocal is not implemented for type torch.cuda.LongTensor 44


	
	opened by ArchieGu
	on 2018-04-26
	
	
	closed by jwyang
	on 2018-08-28
	


I saw someone posted a similar problem #116
Does this have something to do with Pytorch version???
Anyone with solution, plz contact me,...




  
  
    
    
  
  


another method to sove this problem is try to convert the long tensor to float tensor, however when i convert the long tensor to float tensor another problem occurs.