densecap icon indicating copy to clipboard operation
densecap copied to clipboard

ActionPropDenseCap' object has no attribute 'module

Open DeepaliVerma opened this issue 5 years ago • 1 comments

Thank u so much sir for the previous reply, but now I m facing another issue related to "AttributeError: 'ActionPropDenseCap' object has no attribute 'module'" please suggest me a way to the solution and also I m using a single GPU.

DeepaliVerma avatar Apr 01 '20 16:04 DeepaliVerma

@DeepaliVerma This should not happen as we saved model.module.state_dict(), as in here. Could you provide more details, such as whether this is for training or evaluation, where did you get the checkpoint model, how many GPUs are on your machine, and how many GPUs you requested in CUDA_VISIBLE_DEVICES etc.

LuoweiZhou avatar Apr 02 '20 13:04 LuoweiZhou