Dhruv Karan

Results 38 comments of Dhruv Karan

You can try the Tensorflow retraining example. That should work.

@LuoweiZhou If you're not using the -save_checkoint_every parameter, then make a change in this, https://github.com/karpathy/neuraltalk2/blob/master/train.lua#L302 There is a problem in that code, make `iter == opt.max_iters` to `iter == opt.max_iters-1`

> Hi, @unography. Could you give us a more detailed traceback, please? > > It's hard to say without the script command and the full traceback. this is the full...

> @unography You need to pass the ONNX inputs in the same order as they are registered in the `forward` method of the model. We can see [here](https://github.com/huggingface/transformers/blob/3632531ec60beb03fd3b4f0d30f69853d8bcd5b4/src/transformers/models/clip/modeling_clip.py#L982) that `pixel_values`...

> @unography Yes, you have to define outputs the same way you did for inputs. Inputs are not defined in the parent class because they usually vary from one model...

@regisss sure, i'll try it out, thank you so much for your help!

how do I make the test cases pass? Is it only formatting issues or something else?

@regisss I made the changes, apart from the code formatting. How do I format my code correctly? And do I need to run `make fix-copies` ?

@regisss i reverted changes to groupvit, and when I'm running the test (on Colab) the tests are being skipped - ``` pytest tests/onnx/test_onnx_v2.py -v -k "clip" ``` ``` ============================= test...

@regisss for some reason on google colab the tests are still being skipped, so I'm not able to test on GPU this is on my local machine - ``` (transformers)...