Git Product home page Git Product logo

Comments (5)

yja1 avatar yja1 commented on September 21, 2024

I have try change but also has error
def load_params(self, iteration):
cache_file = system_configs.snapshot_file.format(iteration)
print("loading model from {}".format(cache_file))
with open(cache_file, "rb") as f:
from collections import OrderedDict
new_state_dict = OrderedDict()
params = torch.load(f)
for k, v in params.items():
head = k[:7]
if head == 'module.':
name = k[7:] # remove module.
else:
name = k
new_state_dict[name] = v

        self.model.load_state_dict(new_state_dict)

from centernet.

yja1 avatar yja1 commented on September 21, 2024

dets, center = decode_func(nnet, images, K, ae_threshold=ae_threshold, kernel=nms_kernel)
run here, Segmentation fault (core dumped)
???

from centernet.

Duankaiwen avatar Duankaiwen commented on September 21, 2024

@yja1 Can I see your full log?

from centernet.

yja1 avatar yja1 commented on September 21, 2024

err.txt
@Duankaiwen

from centernet.

Duankaiwen avatar Duankaiwen commented on September 21, 2024

@yja1 the gcc version should be 4.9

from centernet.

Related Issues (20)

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.