Alfredo Canziani

Results 117 comments of Alfredo Canziani

Both [`MatchNet`](https://github.com/Atcold/pytorch-CortexNet/blob/master/main.py#L290) and [`TempoNet`](https://github.com/Atcold/pytorch-CortexNet/blob/master/main.py#L299) expect one element at the time. ```python for t in range(0, min(args.big_t, x.size(0)) - 1): ce_loss, mse_loss, state, x_hat_data = compute_loss(x[t], x[t + 1], y[t], state)...

You may need to update your PyTorch? ```python >>> a = torch.tensor([[1., 2.]], requires_grad=True) >>> b = torch.tensor([[3., 4.]], requires_grad=True) >>> torch.cat((a, b), 1) tensor([[1., 2., 3., 4.]], grad_fn=) ```...

I have the same problem. Red / green colour are a must. Has anyone figured this out already?

@justinmk, hmm... I've copied and pasted your snippet, but nothing really happens... :disappointed_relieved:

How can I debug this? Can it also be incorporated into the main colour scheme, with a PR? I think it's a must!

:neutral_face: that's what I did... The right file is my `~/.vimrc`, and yes, I've relaunched Vim.

@justinmk, you can try yourself. Make a `~/.vimrc` with the code you pointed out and have the file `~/.vim/colors/molokai.vim`. Try to see a diff and _taa-daa_, it does not work....

@coldhawaiian, here is the solution. Put these lines in your `~/.vimrc` ``` vim colorscheme molokai " Better gitcommit messages hi diffAdded ctermbg=NONE ctermfg=46 cterm=NONE guibg=NONE guifg=#00FF00 gui=NONE hi diffRemoved ctermbg=NONE...

@justinmk, to which colours are you referring? Moreover, in the solution I've suggested there is no need of the `autocmd` and it looks more simple. Or this won't work in...

@justinmk, if you use _git_ then _vim_ has to show _git_'s diff colours, whatever colour scheme you have. Having the light blue and orange for removal and addition are completely...