-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput.log
60 lines (53 loc) · 4.55 KB
/
output.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
INFO - 11/22/23 15:40:59 - 0:00:00 - Namespace(cuda='False', transcoder_path='', src_lang='python', tgt_lang='java', fragment_to_conv='', threshold='0', data='/home/egk204/projects/transclone/storage', subject_system='/home/egk204/projects/transclone/storage/systems/config', root='/home/egk204/projects/transclone/', src_gmn_path='/home/egk204/projects/transclone/gmn/gmn_srcml_clcdsa.pt', pairs='/home/egk204/projects/transclone/storage/pairs.csv', systems_converted='/home/egk204/projects/transclone/storage/systems_converted/')
processing system: /home/egk204/projects/transclone/storage/systems/config
cp: cannot stat 'storage/systems//home/egk204/projects/transclone/storage/systems/config': No such file or directory
NiCad Clone Detector v6.2 (13.11.20)
Usage: NiCad granularity language systems/systemdir [ config ]
where granularity is one of: { functions blocks ... }
and language is one of: { c java cs py ... }
and config is one of: { blindrename ... }
mv: cannot stat 'systems//home/egk204/projects/transclone/storage/systems/config_functions.xml': No such file or directory
NiCad Clone Detector v6.2 (13.11.20)
Usage: NiCad granularity language systems/systemdir [ config ]
where granularity is one of: { functions blocks ... }
and language is one of: { c java cs py ... }
and config is one of: { blindrename ... }
mv: cannot stat 'systems//home/egk204/projects/transclone/storage/systems/config_functions.xml': No such file or directory
rm: cannot remove 'systems//home/egk204/projects/transclone/storage/systems/config/': No such file or directory
INFO - 11/22/23 15:41:01 - 0:00:02 - ============ Model Reloading
INFO - 11/22/23 15:41:01 - 0:00:02 - Reloading encoder from /home/egk204/projects/transclone/storage/pretrained/translator_transcoder_size_from_DOBF.pth ...
WARNING - 11/22/23 15:41:03 - 0:00:04 - Lang cpp_sa matched to pretrained cpp_sa lang embedding.
WARNING - 11/22/23 15:41:03 - 0:00:04 - Lang java_sa matched to pretrained java_sa lang embedding.
WARNING - 11/22/23 15:41:03 - 0:00:04 - Lang python_sa matched to pretrained python_sa lang embedding.
INFO - 11/22/23 15:41:03 - 0:00:04 - Reloading decoders from /home/egk204/projects/transclone/storage/pretrained/translator_transcoder_size_from_DOBF.pth ...
WARNING - 11/22/23 15:41:03 - 0:00:04 - Lang cpp_sa matched to pretrained cpp_sa lang embedding.
WARNING - 11/22/23 15:41:03 - 0:00:04 - Lang java_sa matched to pretrained java_sa lang embedding.
WARNING - 11/22/23 15:41:03 - 0:00:04 - Lang python_sa matched to pretrained python_sa lang embedding.
INFO - 11/22/23 15:41:04 - 0:00:04 - Number of parameters (encoder): 143279616
INFO - 11/22/23 15:41:04 - 0:00:04 - Number of parameters (decoders): 168482304
INFO - 11/22/23 15:41:04 - 0:00:04 - Number of decoders: 1
INFO - 11/22/23 15:41:04 - 0:00:05 - CONVERTING --> systems/config/rbm.py
Loading codes from /home/egk204/projects/transclone/data/bpe/cpp-java-python/codes ...
Read 50000 codes from the codes file.
INFO - 11/22/23 15:41:04 - 0:00:05 - CONVERTED-->systems/config/rbm.py
INFO - 11/22/23 15:41:04 - 0:00:05 - CONVERTING --> systems/config/rbm.py
Loading codes from /home/egk204/projects/transclone/data/bpe/cpp-java-python/codes ...
Read 50000 codes from the codes file.
INFO - 11/22/23 15:41:04 - 0:00:05 - CONVERTED-->systems/config/rbm.py
INFO - 11/22/23 15:41:04 - 0:00:05 - CONVERTING --> systems/config/rbm.py
Loading codes from /home/egk204/projects/transclone/data/bpe/cpp-java-python/codes ...
Read 50000 codes from the codes file.
INFO - 11/22/23 15:41:05 - 0:00:05 - CONVERTED-->systems/config/rbm.py
INFO - 11/22/23 15:41:05 - 0:00:05 - **** CONVERTED ALL FILES ****
INFO - 11/22/23 15:41:05 - 0:00:05 - **** ERRORS ARE SAVED IN: /home/egk204/projects/transclone/errors.txt ****
INFO - 11/22/23 15:41:05 - 0:00:05 - ***transcoder phase done***
INFO - 11/22/23 15:41:05 - 0:00:05 - ****PAIRS SAVED IN-->./storage/pairs.csv****
INFO - 11/22/23 15:41:05 - 0:00:05 - ***generated pairs***
adding to path /home/egk204/projects/transclone
/home/egk204/projects/transclone
Tokenized python_sa function:
['def', 'abc', '(', ')', ':', 'NEW_LINE', 'INDENT', 'NEW_LINE', 'INDENT', 'pass', 'NEW_LINE', 'DEDENT', 'DEDENT', 'NEW_LINE']
Tokenized python_sa function:
['def', 'test', '(', 'a', ',', 'b', ')', ':', 'NEW_LINE', 'INDENT', 'NEW_LINE', 'INDENT', 'return', 'a', '-', 'b', 'NEW_LINE', 'DEDENT', 'DEDENT', 'NEW_LINE']
Tokenized python_sa function:
['def', 'random', '(', 'a', ')', ':', 'NEW_LINE', 'INDENT', 'NEW_LINE', 'INDENT', 'return', 'a', '**', 'a', 'NEW_LINE', 'DEDENT', 'DEDENT', 'NEW_LINE']