GithubHelp home page GithubHelp logo

rvtclr's People

Contributors

zhuysheng avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

rvtclr's Issues

debug main.py

Hi,

I encountered this issue whle trying to debug the main.py program. Can you help me take a look? I don't know how to add this processor

Traceback (most recent call last):
File "/home/zlq/pycharm-professional-2023.1.3/pycharm-2023.1.3/plugins/python/helpers/pydev/pydevd.py", line 1496, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "/home/zlq/pycharm-professional-2023.1.3/pycharm-2023.1.3/plugins/python/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/home/zlq/project/RVTCLR-main/main.py", line 49, in
Processor = processors[arg.processor]
KeyError: None

margin_ranking_loss

Hi ,Can you help me take a look at a question here? thankyou!

Traceback (most recent call last):
File "/home/zlq/pycharm-professional-2023.1.3/pycharm-2023.1.3/plugins/python/helpers/pydev/pydevd.py", line 1496, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "/home/zlq/pycharm-professional-2023.1.3/pycharm-2023.1.3/plugins/python/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/home/zlq/project/RVTCLR-main/main.py", line 57, in
p.start()
File "/home/zlq/project/RVTCLR-main/processor/processor.py", line 179, in start
self.train(epoch + 1)
File "/home/zlq/project/RVTCLR-main/processor/pretrain_skeletonclr.py", line 108, in train
loss3 = self.loss_2(logits_M[0], logits_M[1], labels_M)
File "/home/zlq/miniconda3/envs/RVTCLR/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/home/zlq/miniconda3/envs/RVTCLR/lib/python3.7/site-packages/torch/nn/modules/loss.py", line 1333, in forward
return F.margin_ranking_loss(input1, input2, target, margin=self.margin, reduction=self.reduction)
File "/home/zlq/miniconda3/envs/RVTCLR/lib/python3.7/site-packages/torch/nn/functional.py", line 3328, in margin_ranking_loss
"input1: {}, input2: {}, target: {} ".format(input1.size(), input2.size(), target.size())
RuntimeError: margin_ranking_loss : All input tensors should have same dimension but got sizes: input1: torch.Size([2, 1]), input2: torch.Size([2, 1]), target: torch.Size([2])
python-BaseException

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.