Info

Testing and Issues

You can test this entry and submit issues during the testing period of the ML Competition contest.

Entries with serious issues will not be able to win the contest, but even minor issues might be important for overall results.

Voting

Comments

Must be like this
.
├── CMakeLists.txt
├── build <-- must be root
│ ├── CMakeCache.txt
│ ├── Makefile
│ ├── cmake_install.cmake
│ ├── code.txt
│ └── tglang-tester
├── libtglang.so
├── resources
│ ├── lib
│ │ ├── libtensorflow.so -> libtensorflow.so.2
│ │ ├── libtensorflow.so.2 -> libtensorflow.so.2.5.0
│ │ ├── libtensorflow.so.2.5.0
│ │ ├── libtensorflow_framework.so -> libtensorflow_framework.so.2
│ │ ├── libtensorflow_framework.so.2 -> libtensorflow_framework.so.2.5.0
│ │ └── libtensorflow_framework.so.2.5.0
│ └── model
│ ├── saved_model.pb
│ └── variables
│ ├── variables.data-00000-of-00001
│ └── variables.index
├── tglang-tester.c
Please, try to check my solution using `libtglang.tar.gz:`
- unpack  libtglang.tar.gz to XXX_folder
- copy libtglang.so and resources folder to XXX_folder
- cd XXX_folder
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
- cmake --build .
You have not added any comments yet...
by rating

Issues

Fair Leopard Nov 7, 2023 at 18:53
In our final tests, this submission received the following scores (out of 100):

Code/Other Detection: 23.5
Language Detection: 77.2
Average Time: 337ms per sample

Final Score: 12
10
Fair Quokka Oct 26, 2023 at 22:34
This is an important message regarding your submission. The following issues have been discovered during preliminary testing:
Segmentation fault

You can provide further clarifications within the next 24 hours. 
Jolly Rhino Oct 26, 2023 at 22:47
According to the terms of the competition, the solution must use relative paths to the resource folder. It means that root folder for execution is important.
Please, check that root folder is "build" and resources the folder is located at a higher level.
Fair Leopard Oct 27, 2023 at 00:06
#comment17202
Your submission does not contain a 'build' folder and 'CMakeLists.txt' at the root. As a result, we encountered the following error:
CMake Error: The source directory "." does not appear to contain CMakeLists.txt.
Jolly Rhino Oct 27, 2023 at 08:29
> Your submission does not contain a 'build' folder 

This is true. According to the rules, the "build" folder is created at the time of testing.

Because of this, relative paths are written so as to search for artifacts at a higher level.

```
const char* saved_model_dir = "../resources/model/"; // Path of the model

const char* tensorflow_so_path = "../resources/lib/libtensorflow.so.2.5.0";
```

if you have your `inner-tglang-tester` just do this:
```
mkdir build
mv inner-tglang-tester build/
cd build
./inner-tglang-tester
```
Nobody added any issues yet...