Skip to content

Conversation

@uricohen
Copy link

Handling the case of changed default tensor type (e.g. overfeat torch do the following:
torch.setdefaulttensortype('torch.FloatTensor')
which break the code as torch.Tensor():resizeAs() would expect a FloatTensor.

Handling the case of changed default tensor type (e.g. overfeat torch do the following:
   torch.setdefaulttensortype('torch.FloatTensor')
which break the code as torch.Tensor():resizeAs() would expect a FloatTensor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant