Giter VIP home page Giter VIP logo

superthermal-thermal-matching's People

Contributors

xhwdlgy5201 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

superthermal-thermal-matching's Issues

Runtime Error

Hello,

Thank you for sharing your implementation. I am having some trouble running python batch_draw_matching_points.py --resume KAIST.pth.tar --folder test_input

The resulting error is as followed while using pytorch 2.01:

Loading model from KAIST.pth.tar ['test_input/II01985.jpg', 'test_input/II01980.jpg'] Image 1 path: test_input/II01980.jpg Image 2 path: test_input/II01985.jpg /home/jonathansel/SuperThermal-thermal-matching/model/thermal_det_module.py:197: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than tensor.new_tensor(sourceTensor). psf = im1w_score.new_tensor( Traceback (most recent call last): File "batch_draw_matching_points.py", line 95, in <module> kp1, des1, img1 = model.detectAndCompute(img1_path, device, (240, 320)) File "/home/jonathansel/SuperThermal-thermal-matching/model/thermal_net_so.py", line 205, in detectAndCompute _, kp, des = self.inference(img, img_info, img_raw) File "/home/jonathansel/SuperThermal-thermal-matching/model/thermal_net_so.py", line 154, in inference im_score = self.det.process(im_rawsc)[0] File "/home/jonathansel/SuperThermal-thermal-matching/model/thermal_det_module.py", line 202, in process im1w_score = F.conv2d( RuntimeError: Input type (torch.cuda.FloatTensor) and weight type (torch.FloatTensor) should be the same

image

If you have any suggestions on how to fix please let me know, thank you!

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.