tuyunbin / scorer Goto Github PK
View Code? Open in Web Editor NEW[ICCV 2023] This is the Pytorch code for our paper "Self-Supervised Cross-View Representation Reconstruction for Change Captioning".
[ICCV 2023] This is the Pytorch code for our paper "Self-Supervised Cross-View Representation Reconstruction for Change Captioning".
Running the training script seems lead to an error.
The command: python train.py --cfg configs/dynamic/transformer.yaml
The error:
Traceback (most recent call last):
File "train.py", line 223, in <module>
torch.clamp_(change_detector.cross_layer[-1].self_attention.logit_scale.data, max=np.log(100))
File "/hd1/mwt/miniconda3/envs/scorer/lib/python3.8/site-packages/torch/nn/modules/module.py", line 947, in __getattr__
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'ChangeDetector' object has no attribute 'cross_layer'
The related code:
Lines 219 to 226 in 5bd189c
cross_layer
attributes.I'm trying to train the model with the given command python train.py --cfg configs/dynamic/transformer.yaml
, but an error occurs. The error message is like: (last few lines)
File "/hd1/mwt/SCORER/datasets/rcc_dataset_transformer.py", line 39, in __init__
self.word_to_idx = json.load(open(self.vocab_json, 'r'))
FileNotFoundError: [Errno 2] No such file or directory: './data/transformer_vocab.json'
Seems a configuration error, I see vocab.json in the ./data
directory, is that the correct file to use?
Hi, I found in the train.py
, the generator is not being optimized, and this leads to non-decreasing cycle loss. Is this a bug or an intended design?
Lines 114 to 115 in 2c12e34
First thanks for this great work, it is very valuable to see your code and be able to run it,
I have reproduced your work on CLEVR-Change. Now I am trying to do it on a smaller dataset and as i see the results on Image Editing Request I think you could have some valuable insights if you are okay with sharing :)
For now, i am training on a dataset of the size of IER. SCORER seems to struggle and I want to be sure I am not doing anything wrong to be able to compare my thing with it fairly.
Again, thanks for this work and for your time
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.