Skip to content

libtorch_cpu.so #14

@wanglei1006

Description

@wanglei1006

Dear yifita,
when I run the cage_deformer_3d.py, the following Error arises.

from .._ext import sampling, linalg

ImportError: libtorch_cpu.so: cannot open shared object file: No such file or directory

I searched for solutions and found that pytorch1.4.0 has no libtorch_cpu.so or libtorch_cuda.so, and it only has libtorch.so.
While this code only works with pytorch1.4.0, I don't know how to solve this problem.
I appreciate your help, thanks a lot!

============================================================================
(pytorch-all2) wanglei@hmc46:/data2/wanglei/CG/deep_cage$ python cage_deformer_3d.py --dataset SHAPENET --full_net --bottleneck_size 256 --n_fold 2 --ckpt trained_models/chair_ablation_full/net_final.pth --target_model data/shapenet_target/**/*.obj --source_model data/elaborated_chairs/throne_no_base.obj data/elaborated_chairs/Chaise_longue_noir_House_Doctor.ply --subdir fancy_chairs --phase test --is_poly
Traceback (most recent call last):
File "cage_deformer_3d.py", line 14, in
from pytorch_points.network.geo_operations import mean_value_coordinates_3D, edge_vertex_indices
File "/data2/wanglei/CG/deep_cage/pytorch_points/pytorch_points/network/geo_operations.py", line 4, in
from .operations import batch_svd, normalize, dot_product, scatter_add, faiss_knn, cross_product_2D, group_knn, gather_points
File "/data2/wanglei/CG/deep_cage/pytorch_points/pytorch_points/network/operations.py", line 11, in
from .._ext import sampling, linalg
ImportError: libtorch_cpu.so: cannot open shared object file: No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions