Comments (9)
Hi, kategia,
We save the configuration in a format of json. You could acess the configuration (.json) at the folder of configs.
If you would like to evaluate the model, you could specify the pretrained mode (.pth.tar) to --model-path
.
from lipreading_using_temporal_convolutional_networks.
Thank you for your response! I now get raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
from lipreading_using_temporal_convolutional_networks.
Hi, there
This thread (30664) may help
from lipreading_using_temporal_convolutional_networks.
Hello again,
I just removed the .cuda() part from extract_feats=args.extract_feats).cuda() since for now I run it locally thank you for the thread though. I get this error
line 215, in main
model, optimizer, epoch_idx, ckpt_dict = load_model(args.model_path, model, optimizer)
optimizer.load_state_dict(checkpoint['optimizer_state_dict'])
KeyError: 'optimizer_state_dict'
I haven't modyfied the optimizer parameters here they are
parser.add_argument('--optimizer',type=str, default='adamw', choices = ['adam','sgd','adamw'])
Any idea what could fix this? Thank you
from lipreading_using_temporal_convolutional_networks.
Hi, kategia,
Could you tell me which checkpoint file did you use?
from lipreading_using_temporal_convolutional_networks.
Hello,
sure its the resnet18_mstcn(adamw_s3) model -->lrw_resnet18_mstcn_adamw_s3.pth.tar
from lipreading_using_temporal_convolutional_networks.
Hi,
The checkpoint only includes the weight of model. That's why no keys in optimiser.
If you are testing the model or initialise from our model, please leave '--init-epoch' to 0.
https://github.com/mpc001/Lipreading_using_Temporal_Convolutional_Networks/blob/master/main.py#L215-L219 is for loading model to resume training. The previous checkpoints, which includes the keys in optimiser, could be accessed in the folder of train_logs
from lipreading_using_temporal_convolutional_networks.
Yep my bad you are totally right.
One last thing,
when I try to train the model I get the following error
File "C:/lipreading/Lipreading_using_Temporal_Convolutional_Networks/main.py", line 240, in main
model = train(model, dset_loaders['train'], criterion, epoch, optimizer, logger)
File "C:/Lipreading_using_Temporal_Convolutional_Networks/main.py", line 135, in train
for batch_idx, (input, lengths, labels) in enumerate(dset_loader):
...............
assert os.path.isfile( filepath ), "Error when trying to read txt file, path does not exist: {}".format(filepath)
AssertionError: Error when trying to read txt file, path does not exist: C:\Lipreading_using_Temporal_Convolutional_Networks\datasets\visual_data\ABOUT\train\ABOUT_00849.txt
In this folder I have the ABOUT folder with the processed images(npz) format and no txt file. Where does the error come from?Thank youuu
from lipreading_using_temporal_convolutional_networks.
Hi,
The annonation file (.txt) is in the original LRW-BBC dataset. Also, please note that the splitting symbol for file path is different between windows and unix.
from lipreading_using_temporal_convolutional_networks.
Related Issues (20)
- Can we do Sentence Prediction for the model? HOT 1
- About variable length augmentation HOT 1
- DC-TCN number of parameters and Hardest words list
- Must convert gray? HOT 1
- ShuffleNet's Parameter
- Do this code in github include the part of data Augmentation? HOT 1
- With the same data , why the result is so different on ms-tcn and dc-tcn ?
- Acc of resnet18_dctcn_video_boundary in my test is wrong HOT 1
- about preprocessing
- cant process HOT 1
- How to use pretrain model after download from Google drive HOT 2
- what is the form of <ANNONATION-DIRECTORY> because I want applied it own my dataset , and landmark method.
- IndexError: index 28 is out of bounds for axis 0 with size 4 when run crop_mouth_from_video.py
- RuntimeError: CUDA error: device-side assert triggered HOT 2
- Can you tell me how to get word boundary from real reasoning?
- Not able to evaluate visual-only performance using the pre-processed npz files HOT 2
- KeyError: 'optimizer_state_dict' arise with Pretrined model
- Your work is excellent! How can I calculate lip reading loss L between the face my model reders and my ground truth image?
- How to create .pkl file for my own video
- How are you dealing with varied length of input - like some are 29,28,27.
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 lipreading_using_temporal_convolutional_networks.