Comments (6)
Sorry, I used ASCII transfer for binary files during upload, which resulted in file corruption. The weight file has been updated. You can download and try again. Thanks.
https://drive.google.com/open?id=1RiPX-CiSEf1L1NZsWzATvLB7XXBFMsCA
from d4lcn.
Still getting an error, will troubleshoot later:
---------------------------------------------------------------------------
UnpicklingError Traceback (most recent call last)
<ipython-input-8-c6549c052d91> in <module>()
43
44 # load weights
---> 45 load_weights(net, weights_path, remove_module=True)
46
47 # switch modes for evaluation
2 frames
/usr/local/lib/python3.6/dist-packages/torch/serialization.py in _load(f, map_location, pickle_module, **pickle_load_args)
601 f.seek(0)
602
--> 603 magic_number = pickle_module.load(f, encoder='unicode')
604 if magic_number != MAGIC_NUMBER:
605 raise RuntimeError("Invalid magic number; corrupt file?")
UnpicklingError: invalid load key, '>'.
from d4lcn.
Hi, I just tested and the model works fine. The reason may be that you use ASCII
instead of binary
when uploading it to the server.
You can set FTP file_type to Binary
in your software, e.g., in FileZilla,
You can also compress the file or modify the suffix and then upload it to ensure consistency.
Thanks.
from d4lcn.
Thanks I seem to have fixed it however I'm now getting this error:
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-7-c6549c052d91> in <module>()
43
44 # load weights
---> 45 load_weights(net, weights_path, remove_module=True)
46
47 # switch modes for evaluation
1 frames
/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py in load_state_dict(self, state_dict, strict)
837 if len(error_msgs) > 0:
838 raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
--> 839 self.__class__.__name__, "\n\t".join(error_msgs)))
840 return _IncompatibleKeys(missing_keys, unexpected_keys)
841
RuntimeError: Error(s) in loading state_dict for RPN:
Missing key(s) in state_dict: "adaptive_bn.weight", "adaptive_bn.bias", "adaptive_bn.running_mean", "adaptive_bn.running_var", "adaptive_layers1.1.weight", "adaptive_layers1.1.bias", "adaptive_bn1.weight", "adaptive_bn1.bias", "adaptive_bn1.running_mean", "adaptive_bn1.running_var".
from d4lcn.
Hi, the problem may be that you did not replace the models/resnet_dilate.py
file.
If you want to use this simplified pre-trained model, you should download weights, model and config file, replace models/resnet_dilate.py
, place weight.pkl
and config.pkl
in the pretrain
folder, then run test.sh
.
Thanks.
from d4lcn.
My bad! Thanks for all the help, got it to work! :)
from d4lcn.
Related Issues (20)
- Reproduce 3DNet+CL HOT 11
- Optimizer.step() & scheduler.step() in wrong order when restoring HOT 1
- Depth maps estimation
- Reproducing AP|R11 results
- Source of Randomness HOT 1
- data distribute
- Confuion in building project
- sh train.sh undefined symbol: __cudaRegisterFatBinaryEnd HOT 2
- Where is the function ‘projection_ray_trace’?
- Meaning of the Results HOT 2
- result HOT 2
- how to calculate mean and std HOT 1
- How can i train the results like you in paper?
- Replicate results from the paper HOT 5
- sh train.sh TypeError : cannot creat 'generator' instances
- ModuleNotFoundError: No module named 'lib.imdb_util'
- Depth Images for Testing set HOT 1
- Cannot replicate results from the paper
- Training my own dataset
- Question about "gpu_nms"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from d4lcn.