Coder Social home page Coder Social logo

pifuhd's People

Contributors

10xjschad avatar benknight135 avatar iamoracle avatar jfcostta avatar kinivi avatar preetamsantosh12 avatar shunsukesaito avatar

pifuhd's Issues

ModuleNotFoundError: No module named 'matplotlib'

$ sh ./scripts/demo.sh
Traceback (most recent call last):
  File "/home/yongilcho/anaconda3/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/yongilcho/anaconda3/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/yongilcho/reposit/pifuhd/apps/simple_test.py", line 4, in <module>
    from .recon import reconWrapper
  File "/home/yongilcho/reposit/pifuhd/apps/recon.py", line 18, in <module>
    import matplotlib.pyplot as plt
ModuleNotFoundError: No module named 'matplotlib'
freeglut (foo): failed to open display ''

RuntimeError: CUDA error: no kernel image is available for execution on the device

$ sh ./scripts/demo.sh
Resuming from  ./checkpoints/pifuhd.pt
/home/yongilcho/.virtualenvs/pifuhd/lib/python3.8/site-packages/torch/cuda/__init__.py:143: UserWarning:
NVIDIA GeForce RTX 3090 with CUDA capability sm_86 is not compatible with the current PyTorch installation.
The current PyTorch install supports CUDA capabilities sm_37 sm_50 sm_60 sm_70.
If you want to use the NVIDIA GeForce RTX 3090 GPU with PyTorch, please check the instructions at https://pytorch.org/get-started/locally/

  warnings.warn(incompatible_device_warn.format(device_name, capability, " ".join(arch_list), device_name))
Warning: opt is overwritten.
test data size:  1
initialize network with normal
initialize network with normal
generate mesh (test) ...
  0%|                                                                                                                                                                                                                  | 0/1 [00:00<?, ?it/s]./results/pifuhd_final/recon/result_test_512.obj
  0%|                                                                                                                                                                                                                  | 0/1 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "/home/yongilcho/anaconda3/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/yongilcho/anaconda3/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/yongilcho/reposit/pifuhd/apps/simple_test.py", line 30, in <module>
    reconWrapper(cmd, args.use_rect)
  File "/home/yongilcho/reposit/pifuhd/apps/recon.py", line 220, in reconWrapper
    recon(opt, use_rect)
  File "/home/yongilcho/reposit/pifuhd/apps/recon.py", line 210, in recon
    gen_mesh(opt.resolution, netMR, cuda, test_data, save_path, components=opt.use_compose)
  File "/home/yongilcho/reposit/pifuhd/apps/recon.py", line 38, in gen_mesh
    net.filter_global(image_tensor_global)
  File "/home/yongilcho/reposit/pifuhd/lib/model/HGPIFuMRNet.py", line 83, in filter_global
    self.netG.filter(images)
  File "/home/yongilcho/reposit/pifuhd/lib/model/HGPIFuNetwNML.py", line 122, in filter
    self.nmlF = self.netF.forward(images).detach()
  File "/home/yongilcho/reposit/pifuhd/lib/networks.py", line 163, in forward
    return self.model(input)
  File "/home/yongilcho/.virtualenvs/pifuhd/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/yongilcho/.virtualenvs/pifuhd/lib/python3.8/site-packages/torch/nn/modules/container.py", line 141, in forward
    input = module(input)
  File "/home/yongilcho/.virtualenvs/pifuhd/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/yongilcho/.virtualenvs/pifuhd/lib/python3.8/site-packages/torch/nn/modules/padding.py", line 174, in forward
    return F.pad(input, self.padding, 'reflect')
  File "/home/yongilcho/.virtualenvs/pifuhd/lib/python3.8/site-packages/torch/nn/functional.py", line 4189, in _pad
    return torch._C._nn.reflection_pad2d(input, pad)
RuntimeError: CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
freeglut (foo): failed to open display ''

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.