Comments (4)
oop! I can't use the code to train the Celeb datasets either. But my error not like this. The error is:
Traceback (most recent call last):
File "train.py", line 288, in
main()
File "train.py", line 95, in main
weight_decay=args.weight_decay)
File "/home/hezhenhao/.conda/envs/my_root/lib/python3.6/site-packages/torch/optim/sgd.py", line 56, in init
super(SGD, self).init(params, defaults)
File "/home/hezhenhao/.conda/envs/my_root/lib/python3.6/site-packages/torch/optim/optimizer.py", line 61, in init
raise ValueError("can't optimize a non-leaf Variable")
ValueError: can't optimize a non-leaf Variable
Hope someone can help me fix the issue.
from lightcnn.
@NIIAS3050 Refer to issue #12 and #4
@scoyer Refer to #1 or update your pytorch to the latest version
from lightcnn.
Hi again.
In your paper you wrote, that xavier and gaussian inintailization was used .
But in your Python code there is no weight initialization. In your answer in #12 you reccomend to use pretrained model as initialization. Can i use your python code to learn LightCNN from scratch?
Or it can be used only for finetuning(without modifications of course)?
from lightcnn.
You can learn LightCNN from scratch. I try it after I change "shuffle = True" during loading the dataset and it works well. And I think you better modify some hyper parameters if the training dataset is not MS-cele.
from lightcnn.
Related Issues (20)
- All images in LFW are (128,128)
- LFW open and close set identification using gallery-probe list HOT 1
- I couldn't use your pre-training model. HOT 4
- Where is the LightCNN v2 implementation said to have been updated in section 'updates'
- Finetune LightCNN29 on the other dataset
- Can you public the model fine-tune on casia nir-vis 2.0?
- Exploding Gradients HOT 1
- Could you share the MS-Celeb-1M dataset? HOT 2
- 3通道图像如何直接使用预训练模型 HOT 1
- What if there are multiple galleries for the same identity? HOT 1
- I can't unzip the file of model named LightCNN_29Layers_V2_checkpoint.pth
- LFW Alignment and detection
- The trained model is damaged HOT 1
- LightCNN visualization
- trainlist HOT 1
- Model Weights HOT 1
- IJB-A test protocol and result HOT 4
- Any references for v4? HOT 2
- tabular data/ noisy instances/ new datasets
- why the features are almost the same HOT 2
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 lightcnn.