Comments (4)
https://github.com/ne7ermore/torch-light/tree/master/Image-Cap
Hi @ne7ermore,
I found this code very educational. Thank you. But, I do not have a GPU. When I run train.py on a CPU, the estimated time of training is about 3-4 weeks. So, could you please share the trained model. It would be of great help. My email id - [email protected].
Thank You
Hello, did you get the trained model? I also have the same problem. If you do get it, could you please share the trained model with me ? My email is [email protected]. Thanks a lot.
from torch-light.
@ne7ermore
Thanks for your sharing code for Image Cap. I find there might be some bug in the train.py. There isn't definition of "speak" in model.py. Or I misunderstand, could you please give me some advice?
def eval():
actor.eval()
eval_score = .0
for imgs, labels in tqdm(validation_data,
mininterval=1,
desc="Actor-Critic Eval",
leave=False):
enc = actor.encode(imgs)
hidden = actor.feed_enc(enc)
### Bug to fix??
words, _ = actor.speak(hidden)
scores = rouge_l(words, labels)
scores = scores.sum()
eval_score += scores.data
eval_score = eval_score[0] / validation_data.sents_size
return eval_score
from torch-light.
I met the same issue as you, have you solved it ? @Michael-Hsu
from torch-light.
from torch-light.
Related Issues (20)
- run train.py error HOT 6
- invalid index of a 0-dim tensor
- your deep-srl is NER? HOT 1
- Why only one image while training image captioning ?
- Question regard Deep SRL module
- 报错 HOT 2
- 人机对战时电脑计算的特别慢是因为没训练到位吗?还是电脑太渣 HOT 4
- 请问 alpha zero训练时,出现如下错误 是什么原因啊
- 大佬您好,请问下为什么从150次开始损失一直在2.5左右,降不下来,您当初损失降得很顺利吗
- 数据在哪下载
- How to add CRF layer after biLSTM output layer? HOT 2
- Model not found HOT 1
- what's the meaning of computing the new_lr with emb_dim? HOT 1
- An error when I run the train.py of LSTM-CNNs-CRF HOT 4
- You may add 'python3 corpus.py' before 'python3 train.py' HOT 1
- Problems while running facial-beauty-prediction HOT 1
- AttributeError: 'NoneType' object has no attribute 'data' HOT 1
- Image-Cap: Assertion Error HOT 3
- Confused by this conv1d operation HOT 1
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 torch-light.